diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-24 09:17:13 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-24 09:17:13 +0100 |
commit | 3c0b613742ac6fa4fc75f384387d69d753f8a682 (patch) | |
tree | 8e8852706ceb47ee41761ddd91509f5da3ffd50b /src/worker.c | |
parent | 6d12ba86f224b77a5047643e7c304fef1d763b26 (diff) | |
download | rspamd-3c0b613742ac6fa4fc75f384387d69d753f8a682.tar.gz rspamd-3c0b613742ac6fa4fc75f384387d69d753f8a682.zip |
[Minor] call periodic, finish and on_load via coroutine
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index f26a86ff7..f1b75b0d9 100644 --- a/src/worker.c +++ b/src/worker.c @@ -108,7 +108,7 @@ rspamd_worker_call_finish_handlers (struct rspamd_worker *worker) task); DL_FOREACH (cfg->finish_callbacks, sc) { - lua_call_finish_script (cfg->lua_state, sc, task); + lua_call_finish_script (sc, task); } task->flags &= ~RSPAMD_TASK_FLAG_PROCESSING; |