commit 4ca2e3f: [Fix] Fix event loop creation
Vsevolod Stakhov
vsevolod at highsecure.ru
Sat Oct 26 19:14:08 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-26 20:07:52 +0100
URL: https://github.com/rspamd/rspamd/commit/4ca2e3fb45e9e7f3f0875d77cf25950cf21ba14c
[Fix] Fix event loop creation
---
src/libserver/worker_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the Commits
mailing list