aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-11-26 13:42:30 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-11-26 13:42:30 +0000
commit1488c9a102d687e27cad50dfe0dec6c1dbf4e710 (patch)
tree8a57f6b4cffd8ec530e7b9fbd2d76d649f6d234d
parent92e51ab7a970cbd2f7e69c24dfd8c76e2a3204aa (diff)
downloadrspamd-1488c9a102d687e27cad50dfe0dec6c1dbf4e710.tar.gz
rspamd-1488c9a102d687e27cad50dfe0dec6c1dbf4e710.zip
[Conf] Clarify `timeout` in rspamd_proxy
-rw-r--r--conf/worker-proxy.inc9
1 files changed, 8 insertions, 1 deletions
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;