From: Vsevolod Stakhov Date: Sat, 26 Oct 2019 19:07:52 +0000 (+0100) Subject: [Fix] Fix event loop creation X-Git-Tag: 2.1~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4ca2e3fb45e9e7f3f0875d77cf25950cf21ba14c;p=rspamd.git [Fix] Fix event loop creation --- 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;