From 53f33e0992fbbdaa71132421aeb92218dfbc867a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 10 Sep 2022 14:13:18 +0100 Subject: [PATCH] [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 -- 2.39.5