1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 05:25:15 +01:00
gitea/services/mailer
zeripath 1d04e8641d
Set Setpgid on child git processes (#19865)
When Gitea is running as PID 1 git will occassionally orphan child processes leading
to (defunct) processes. This PR simply sets Setpgid to true on these child processes
meaning that these defunct processes will also be correctly reaped.

Fix #19077

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-06-03 15:36:18 +01:00
..
mail_comment.go
mail_issue.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
mail_release.go
mail_repo.go
mail_test.go
mail.go
mailer_test.go
mailer.go Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
main_test.go