summaryrefslogtreecommitdiffstats
path: root/src/lua_worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-07 18:54:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-07 18:54:50 +0100
commit8c673af47019c362d94910e9e69b46d098b9cceb (patch)
tree0b55ca70fd1e31b538f4ead8b94ea65e2b18b88b /src/lua_worker.c
parent4b417747c442cd987a3036176767654a643a7e87 (diff)
downloadrspamd-8c673af47019c362d94910e9e69b46d098b9cceb.tar.gz
rspamd-8c673af47019c362d94910e9e69b46d098b9cceb.zip
[Feature] Improve maps checking frequency
Diffstat (limited to 'src/lua_worker.c')
-rw-r--r--src/lua_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c
index 7dcb94277..e5733058a 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -393,7 +393,7 @@ start_lua_worker (struct rspamd_worker *worker)
}
/* Maps events */
- rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver);
+ rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver, 0);
event_base_loop (ctx->ev_base, 0);
rspamd_worker_block_signals ();