diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-20 16:52:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-20 16:52:31 +0000 |
commit | c11152d9ec349554710f8104ef3b2321cfe8a068 (patch) | |
tree | 2e5dafc63b4ec3c3790c51667e4e82c6894b2c66 /src/libserver/dynamic_cfg.c | |
parent | 3f72bccd49234103b6ed4adee6f26f9c1d12d8d0 (diff) | |
download | rspamd-c11152d9ec349554710f8104ef3b2321cfe8a068.tar.gz rspamd-c11152d9ec349554710f8104ef3b2321cfe8a068.zip |
[Feature] Allow to specify maximum number of shots for symbols
Diffstat (limited to 'src/libserver/dynamic_cfg.c')
-rw-r--r-- | src/libserver/dynamic_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dynamic_cfg.c b/src/libserver/dynamic_cfg.c index 6e319ed36..950b9719c 100644 --- a/src/libserver/dynamic_cfg.c +++ b/src/libserver/dynamic_cfg.c @@ -81,7 +81,7 @@ apply_dynamic_conf (const ucl_object_t *top, struct rspamd_config *cfg) */ rspamd_config_add_metric_symbol (cfg, real_metric->name, ucl_object_tostring (n), nscore, NULL, NULL, - 0, priority); + 0, priority, cfg->default_max_shots); } else { msg_info ( |