commit 1488c9a: [Conf] Clarify `timeout` in rspamd_proxy

Vsevolod Stakhov vsevolod at rspamd.com
Sat Nov 26 13:49:04 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-11-26 13:42:30 +0000
URL: https://github.com/rspamd/rspamd/commit/1488c9a102d687e27cad50dfe0dec6c1dbf4e710 (HEAD -> master)

[Conf] Clarify `timeout` in rspamd_proxy

---
 conf/worker-proxy.inc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/conf/worker-proxy.inc b/conf/worker-proxy.inc
index 96417e389..1959670fe 100644
--- a/conf/worker-proxy.inc
+++ b/conf/worker-proxy.inc
@@ -13,7 +13,14 @@
 # Module documentation: https://rspamd.com/doc/workers/rspamd_proxy.html
 
 milter = yes; # Enable milter mode
-timeout = 120s; # Needed for Milter usually
+
+# This timeout is mostly specific to the milter mode.
+# Please also bear in mind that if this timeout is longer than `task_timeout`,
+# your messages might be processed for much longer due to this timeout (this is
+# true for self-scan mode).
+# If this behaviour is not desired, then it is recommended to reduce and adjust this
+# value accordingly
+timeout = 120s;
 
 upstream "local" {
   default = yes;


More information about the Commits mailing list