diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-09-10 14:43:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-09-10 14:43:36 +0100 |
commit | 05fd471df54b690e74125cf7ba2ff345f3be8bbf (patch) | |
tree | 555ad84bda4ac4c1740bcabaf20e6a7a61f4bc0a /lualib | |
parent | ec85b5f367893a9cdc99b1543bbcde849d92e7ef (diff) | |
download | rspamd-05fd471df54b690e74125cf7ba2ff345f3be8bbf.tar.gz rspamd-05fd471df54b690e74125cf7ba2ff345f3be8bbf.zip |
[Rework] Reiterate on priorities
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_util.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index 454629bba..b4707c4bd 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -1532,4 +1532,12 @@ end exports.dns_timeout_augmentation = dns_timeout_augmentation +-- Defines symbols priorities for common usage in prefilters/postfilters +exports.symbols_priorities = { + top = 10, -- Symbols must be executed first (or last), such as settings + high = 9, -- Example: asn + medium = 5, -- Everything should use this as default + low = 0, +} + return exports |