]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] FIx arc timeout
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 10 Sep 2022 13:13:18 +0000 (14:13 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 10 Sep 2022 13:13:18 +0000 (14:13 +0100)
src/plugins/lua/arc.lua

index 871d64b43f8a3f86c624c9971acb61111bc5bca1..95f2c28b584fbc58db96e3bf8db8e23c91200e53 100644 (file)
@@ -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