From: Vsevolod Stakhov Date: Sat, 10 Sep 2022 13:13:18 +0000 (+0100) Subject: [Minor] FIx arc timeout X-Git-Tag: 3.3~36 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=53f33e0992fbbdaa71132421aeb92218dfbc867a;p=rspamd.git [Minor] FIx arc timeout --- 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