From 4f9d59be17de6714b33e59d89a64c175aaed9381 Mon Sep 17 00:00:00 2001 From: zeripath Date: Sun, 3 May 2020 00:04:31 +0100 Subject: 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 --- custom/conf/app.ini.sample | 2 ++ 1 file changed, 2 insertions(+) (limited to 'custom/conf') diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index 8900a58342..0c29932d92 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -649,6 +649,8 @@ MAILER_TYPE = smtp SENDMAIL_PATH = sendmail ; Specify any extra sendmail arguments SENDMAIL_ARGS = +; Timeout for Sendmail +SENDMAIL_TIMEOUT = 5m [cache] ; if the cache enabled -- cgit v1.2.3