diff options
author | zeripath <art27@cantab.net> | 2020-05-03 00:04:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 00:04:31 +0100 |
commit | 4f9d59be17de6714b33e59d89a64c175aaed9381 (patch) | |
tree | b48c2091b12d8c07ef35618371505194b459ded0 /templates | |
parent | 319eb8311204675aeb9ece3fbb8e25c8b3e8a98b (diff) | |
download | gitea-4f9d59be17de6714b33e59d89a64c175aaed9381.tar.gz gitea-4f9d59be17de6714b33e59d89a64c175aaed9381.zip |
Sendmail should create a process on the gitea system and have a default timeout (#11256)
* Make sure that sendmail processes register with the process manager
* Provide a timeout for these (initially of 5 minutes)
* Add configurable value and tie in to documentation
* Tie in to the admin config page.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/config.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 27a47505b5..1b553230b7 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -228,6 +228,8 @@ <dd>{{.Mailer.SendmailPath}}</dd> <dt>{{.i18n.Tr "admin.config.mailer_sendmail_args"}}</dt> <dd>{{.Mailer.SendmailArgs}}</dd> + <dt>{{.i18n.Tr "admin.config.mailer_sendmail_timeout"}}</dt> + <dd>{{.Mailer.SendmailTimeout}} {{.i18n.Tr "tool.raw_seconds"}}</dd> {{end}} <dt>{{.i18n.Tr "admin.config.mailer_user"}}</dt> <dd>{{if .Mailer.User}}{{.Mailer.User}}{{else}}(empty){{end}}</dd><br> |