]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix event loop creation
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Oct 2019 19:07:52 +0000 (20:07 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Oct 2019 19:09:02 +0000 (20:09 +0100)
src/libserver/worker_util.c

index 7a06988c9d3e888dc41122fa7440dcaf7c642e2f..630d1fbbd4773388ba478085eeb0a5fcf48869b3 100644 (file)
@@ -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;