]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Reduce priority for greylist/ratelimit modules 1183/head
authorAndrew Lewis <nerf@judo.za.org>
Sat, 26 Nov 2016 13:27:24 +0000 (15:27 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Sat, 26 Nov 2016 13:27:24 +0000 (15:27 +0200)
src/plugins/lua/greylist.lua
src/plugins/lua/ratelimit.lua

index c3e0e88695acbe21a767f37052b39ce01adcf090..691527a99d8777beba8839dc4c142ac08efaf251 100644 (file)
@@ -378,7 +378,7 @@ if opts then
       name = 'GREYLIST_CHECK',
       type = 'prefilter',
       callback = greylist_check,
-      priority = 10
+      priority = 6
     })
   end
 end
index 3c8461535865e00d565b755f476c70f2d30649ef..57ca0fdcc17247b9fd85b564963b82805c25717c 100644 (file)
@@ -579,7 +579,7 @@ if opts then
         name = 'RATELIMIT_CHECK',
         callback = rate_test,
         type = 'prefilter',
-        priority = 10,
+        priority = 4,
       })
     else
       local symbol