]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Warn on task_timeout less than symcache symbol timeout
authorAlexander Moisseev <moiseev@mezonplus.ru>
Fri, 10 Apr 2026 08:25:44 +0000 (11:25 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Fri, 10 Apr 2026 10:00:06 +0000 (13:00 +0300)
commit8d485cf254c6fe4e24161610030ca708d8cae014
tree5c002730fc0d0fe40bb5bd266351b1f8553f48b2
parent6bfc9cb7afe77fd5308ac3b61f8a29675f96212b
[Fix] Warn on task_timeout less than symcache symbol timeout

Call rspamd_worker_check_and_adjust_timeout during configtest so
misconfigured plugin timeouts are reported at configuration validation
time. Elevate the diagnostic from info to warning level.

Fix rspamd_symcache_add_symbol_augmentation to parse "key=value" format
in augmentation strings, allowing numeric timeout augmentations from
Lua plugins to be stored and compared correctly.

Clarify mx_check timeout comment to explain that the effective symbol
timeout includes dns.timeout in addition to the configured value.
conf/modules.d/mx_check.conf
src/libserver/symcache/symcache_c.cxx
src/libserver/worker_util.c
src/rspamadm/configtest.c