diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-23 13:00:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-23 13:00:36 +0000 |
commit | 6acbf5e15876c3fda98a79d38f7cfe4bea0663fe (patch) | |
tree | 3ecbe2fafb9a9753fe79943da34a199bef5cf3be /src/libserver/cfg_file.h | |
parent | 01ed3a335605e01c31f2e3b4203f8eed96258c13 (diff) | |
download | rspamd-6acbf5e15876c3fda98a79d38f7cfe4bea0663fe.tar.gz rspamd-6acbf5e15876c3fda98a79d38f7cfe4bea0663fe.zip |
[Fix] Do not load tld file to speed up rspamadm
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 1f31d372e..ea75622f8 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -478,7 +478,8 @@ enum rspamd_post_load_options { RSPAMD_CONFIG_INIT_URL = 1 << 0, RSPAMD_CONFIG_INIT_LIBS = 1 << 1, RSPAMD_CONFIG_INIT_SYMCACHE = 1 << 2, - RSPAMD_CONFIG_INIT_VALIDATE = 1 << 3 + RSPAMD_CONFIG_INIT_VALIDATE = 1 << 3, + RSPAMD_CONFIG_INIT_NO_TLD = 1 << 4 }; #define RSPAMD_CONFIG_LOAD_ALL (RSPAMD_CONFIG_INIT_URL|RSPAMD_CONFIG_INIT_LIBS|RSPAMD_CONFIG_INIT_SYMCACHE|RSPAMD_CONFIG_INIT_VALIDATE) |