diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-07 18:54:50 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-07 18:54:50 +0100 |
commit | 8c673af47019c362d94910e9e69b46d098b9cceb (patch) | |
tree | 0b55ca70fd1e31b538f4ead8b94ea65e2b18b88b /src/worker.c | |
parent | 4b417747c442cd987a3036176767654a643a7e87 (diff) | |
download | rspamd-8c673af47019c362d94910e9e69b46d098b9cceb.tar.gz rspamd-8c673af47019c362d94910e9e69b46d098b9cceb.zip |
[Feature] Improve maps checking frequency
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 3889d0709..c6e419e36 100644 --- a/src/worker.c +++ b/src/worker.c @@ -679,7 +679,7 @@ start_worker (struct rspamd_worker *worker) ctx->resolver = dns_resolver_init (worker->srv->logger, ctx->ev_base, worker->srv->cfg); - rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver); + rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver, 0); rspamd_upstreams_library_config (worker->srv->cfg, ctx->cfg->ups_ctx, ctx->ev_base, ctx->resolver->r); |