summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-06 19:33:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-06 19:33:45 +0000
commitc4905fa38fc8eb041676beac91d6b32a9d69439e (patch)
tree50b1b77f9ba2a4f70f0d66248c1298b48d604a4c /conf
parent77f8bd0abd70a67c4ba5b260716fae8371c0612b (diff)
downloadrspamd-c4905fa38fc8eb041676beac91d6b32a9d69439e.tar.gz
rspamd-c4905fa38fc8eb041676beac91d6b32a9d69439e.zip
Increase limit for DATE_IN_FUTURE to 2hr.
Suggested by: @citrin
Diffstat (limited to 'conf')
-rw-r--r--conf/lua/rspamd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/lua/rspamd.lua b/conf/lua/rspamd.lua
index 87fac1dc1..1b06fdc1a 100644
--- a/conf/lua/rspamd.lua
+++ b/conf/lua/rspamd.lua
@@ -46,7 +46,7 @@ rspamd_config.DATE_IN_FUTURE = function(task)
local dm = task:get_date{format = 'message'}
local dt = task:get_date{format = 'connect'}
-- An hour
- if dm - dt > 3600 then
+ if dm - dt > 7200 then
return true
end
end