commit 53f33e0: [Minor] FIx arc timeout

Vsevolod Stakhov vsevolod at rspamd.com
Sat Sep 10 13:14:07 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-09-10 14:13:18 +0100
URL: https://github.com/rspamd/rspamd/commit/53f33e0992fbbdaa71132421aeb92218dfbc867a

[Minor] FIx arc timeout

---
 src/plugins/lua/arc.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 871d64b43..95f2c28b5 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -433,7 +433,8 @@ local id = rspamd_config:register_symbol({
   type = 'callback',
   group = 'policies',
   groups = {'arc'},
-  callback = arc_callback
+  callback = arc_callback,
+  augmentations = {lua_util.dns_timeout_augmentation(rspamd_config)},
 })
 rspamd_config:register_symbol({
   name = 'ARC_CALLBACK', -- compatibility symbol
@@ -802,7 +803,6 @@ if settings.whitelisted_signers_map then
     score = -2.0,
     group = 'policies',
     groups = {'arc'},
-    augmentations = {lua_util.dns_timeout_augmentation(rspamd_config)},
   })
 end
 


More information about the Commits mailing list