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 | |
parent | bcb906a4d04c30095f9308c95337329e76ebb812 (diff) | |
download | rspamd-63f823eb9d6b4cfed6c3014ab350dfc61f33cb28.tar.gz rspamd-63f823eb9d6b4cfed6c3014ab350dfc61f33cb28.zip |
[Project] Further workers refactoring
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/rspamadm/lua_repl.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt index b98b99473..3d4f2f490 100644 --- a/src/rspamadm/CMakeLists.txt +++ b/src/rspamadm/CMakeLists.txt @@ -16,8 +16,7 @@ SET(RSPAMADMSRC rspamadm.c ${CMAKE_SOURCE_DIR}/src/controller.c ${CMAKE_SOURCE_DIR}/src/fuzzy_storage.c ${CMAKE_SOURCE_DIR}/src/worker.c - ${CMAKE_SOURCE_DIR}/src/rspamd_proxy.c - ${CMAKE_SOURCE_DIR}/src/log_helper.c) + ${CMAKE_SOURCE_DIR}/src/rspamd_proxy.c) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) IF (ENABLE_HYPERSCAN MATCHES "ON") LIST(APPEND RSPAMADMSRC "${CMAKE_SOURCE_DIR}/src/hs_helper.c") 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); } } |