aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-26 20:07:52 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-26 20:09:02 +0100
commit4ca2e3fb45e9e7f3f0875d77cf25950cf21ba14c (patch)
tree66aaa1ae1cab3b646c78426a54d36dac015bd67d /src
parente275eb54a06e46f76929e34e1c83bcc41d46c0fb (diff)
downloadrspamd-4ca2e3fb45e9e7f3f0875d77cf25950cf21ba14c.tar.gz
rspamd-4ca2e3fb45e9e7f3f0875d77cf25950cf21ba14c.zip
[Fix] Fix event loop creation
Diffstat (limited to 'src')
-rw-r--r--src/libserver/worker_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index 7a06988c9..630d1fbbd 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -361,7 +361,7 @@ rspamd_prepare_worker (struct rspamd_worker *worker, const char *name,
worker->signal_events = g_hash_table_new_full (g_direct_hash, g_direct_equal,
NULL, rspamd_sigh_free);
- event_loop = ev_loop_new (EVFLAG_SIGNALFD);
+ event_loop = ev_loop_new (EVBACKEND_ALL|EVFLAG_SIGNALFD);
worker->srv->event_loop = event_loop;