diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-11 15:30:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-11 15:30:30 +0000 |
commit | 3c4d37339225ea645f0385aeee1b86238ec41f7c (patch) | |
tree | f3bf673a02d9ead6eac7fe5ffeebf5e924282bac /src/worker.c | |
parent | 63800059e8dacc1ba69b623719c21355a77301c5 (diff) | |
download | rspamd-3c4d37339225ea645f0385aeee1b86238ec41f7c.tar.gz rspamd-3c4d37339225ea645f0385aeee1b86238ec41f7c.zip |
[Feature] Allow to limit maps per specific worker
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 4279aa82c..b20800a60 100644 --- a/src/worker.c +++ b/src/worker.c @@ -552,7 +552,7 @@ start_worker (struct rspamd_worker *worker) } else { rspamd_map_watch (worker->srv->cfg, ctx->event_loop, ctx->resolver, - worker, 0); + worker, RSPAMD_MAP_WATCH_SCANNER); } rspamd_lua_run_postloads (ctx->cfg->lua_state, ctx->cfg, ctx->event_loop, |