diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-19 17:46:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-22 10:57:29 +0100 |
commit | 63f823eb9d6b4cfed6c3014ab350dfc61f33cb28 (patch) | |
tree | 176473fdc43691f2e0f1835f270218dc85ee5f00 /src/rspamadm/lua_repl.c | |
parent | bcb906a4d04c30095f9308c95337329e76ebb812 (diff) | |
download | rspamd-63f823eb9d6b4cfed6c3014ab350dfc61f33cb28.tar.gz rspamd-63f823eb9d6b4cfed6c3014ab350dfc61f33cb28.zip |
[Project] Further workers refactoring
Diffstat (limited to 'src/rspamadm/lua_repl.c')
-rw-r--r-- | src/rspamadm/lua_repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index 33805d66b..a95521bdb 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -296,7 +296,7 @@ wait_session_events (void) { /* XXX: it's probably worth to add timeout here - not to wait forever */ while (rspamd_session_events_pending (rspamadm_session) > 0) { - event_base_loop (rspamd_main->event_loop, EVLOOP_ONCE); + ev_loop (rspamd_main->event_loop, EVLOOP_ONESHOT); } } |