diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-07 14:31:08 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-07 14:31:08 +0000 |
commit | 296c0cd69431ffc59b12adff6b3d58c9069f81ff (patch) | |
tree | 61df11a3683644cee24310467e22e2d3b9c55435 /src/fuzzy_storage.c | |
parent | 5172bac9ff82d0abc316d40b61cec13b91903a1a (diff) | |
download | rspamd-296c0cd69431ffc59b12adff6b3d58c9069f81ff.tar.gz rspamd-296c0cd69431ffc59b12adff6b3d58c9069f81ff.zip |
[Rework] Rework final scripts logic
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index f7aec3e27..f8b18b78a 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -481,7 +481,7 @@ rspamd_fuzzy_updates_cb (gboolean success, } } - if (ctx->worker->wanna_die) { + if (ctx->worker->state != rspamd_worker_state_running) { /* Plan exit */ ev_break (ctx->event_loop, EVBREAK_ALL); } |