aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-26 15:27:24 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-26 15:27:24 +0200
commitc0416f4d4a328c98d451b4a0d77e031e04d2bd3a (patch)
tree51bf8a5be742a4b3f14bd30050641c6f329a1c3c /src/plugins
parent0b9dbcc818d05b6862c8a557e85c6d77036fe67d (diff)
downloadrspamd-c0416f4d4a328c98d451b4a0d77e031e04d2bd3a.tar.gz
rspamd-c0416f4d4a328c98d451b4a0d77e031e04d2bd3a.zip
[Minor] Reduce priority for greylist/ratelimit modules
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/greylist.lua2
-rw-r--r--src/plugins/lua/ratelimit.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua
index c3e0e8869..691527a99 100644
--- a/src/plugins/lua/greylist.lua
+++ b/src/plugins/lua/greylist.lua
@@ -378,7 +378,7 @@ if opts then
name = 'GREYLIST_CHECK',
type = 'prefilter',
callback = greylist_check,
- priority = 10
+ priority = 6
})
end
end
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua
index 3c8461535..57ca0fdcc 100644
--- a/src/plugins/lua/ratelimit.lua
+++ b/src/plugins/lua/ratelimit.lua
@@ -579,7 +579,7 @@ if opts then
name = 'RATELIMIT_CHECK',
callback = rate_test,
type = 'prefilter',
- priority = 10,
+ priority = 4,
})
else
local symbol