diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-10-02 19:44:49 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-10-02 19:44:49 +0400 |
commit | 5d1f19fc9988261e23f190c216eb17958f178904 (patch) | |
tree | 5ce8f92a06147a887364d4d66f5ea3d8b77c988b /src/cfg_utils.c | |
parent | 80d2b194b1e8ce902a2feac5389bc4de8d5732a5 (diff) | |
download | rspamd-5d1f19fc9988261e23f190c216eb17958f178904.tar.gz rspamd-5d1f19fc9988261e23f190c216eb17958f178904.zip |
* Add support for dynamic configuration to the controller's interface.
* File maps are now being watched even if they don't exist on rspamd start.
Several fixes to dynamic configuration logic.
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r-- | src/cfg_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c index 1576cb9fb..7dfe54462 100644 --- a/src/cfg_utils.c +++ b/src/cfg_utils.c @@ -34,6 +34,7 @@ #include "lua/lua_common.h" #include "kvstorage_config.h" #include "map.h" +#include "dynamic_cfg.h" #define DEFAULT_SCORE 10.0 @@ -733,6 +734,7 @@ post_load_config (struct config_file *cfg) /* Lua options */ (void)lua_post_load_config (cfg); + init_dynamic_config (cfg); } #if 0 |