]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Improve logging
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 7 Nov 2019 14:42:38 +0000 (14:42 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 7 Nov 2019 14:42:38 +0000 (14:42 +0000)
src/fuzzy_storage.c

index f8b18b78a37610c21ffafa74a6d21ac1cd55956f..c7b774d938876bfedd2fc2050565338e75e4ed36 100644 (file)
@@ -2020,8 +2020,10 @@ start_fuzzy (struct rspamd_worker *worker)
        }
 
        if (worker->index == 0 && ctx->updates_pending->len > 0) {
+               msg_info_config ("start another event loop to sync fuzzy storage");
                rspamd_fuzzy_process_updates_queue (ctx, local_db_name, FALSE);
                ev_loop (ctx->event_loop, 0);
+               msg_info_config ("sync cycle is done");
        }
 
        rspamd_fuzzy_backend_close (ctx->backend);