diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-04 19:19:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-04 19:19:43 +0000 |
commit | 077d9b3c2f22dd2d4e66971e999dc01ac2fa2b44 (patch) | |
tree | 848dc758ca32845d61f7d6b8cba3581159a622db /lualib/rspamadm/rescore.lua | |
parent | 4402c24ee0f9cb77bea4c8b028734e563ce5eb9a (diff) | |
download | rspamd-077d9b3c2f22dd2d4e66971e999dc01ac2fa2b44.tar.gz rspamd-077d9b3c2f22dd2d4e66971e999dc01ac2fa2b44.zip |
[Feature] Add timeout to rspamc when doing corpus test
Diffstat (limited to 'lualib/rspamadm/rescore.lua')
-rw-r--r-- | lualib/rspamadm/rescore.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua index 538122f68..4f6cc5075 100644 --- a/lualib/rspamadm/rescore.lua +++ b/lualib/rspamadm/rescore.lua @@ -202,7 +202,7 @@ return function (_, res) local logs = rescore_utility.get_all_logs(res["logdir"]) local all_symbols = rescore_utility.get_all_symbols(logs) - local original_symbol_scores = rescore_utility.get_all_symbol_scores() + local original_symbol_scores = rescore_utility.get_all_symbol_scores(res["timeout"]) shuffle(logs) |