]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Load skip map from all processes as shared cache is unavailable
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 21 Oct 2017 18:30:09 +0000 (19:30 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 21 Oct 2017 18:30:09 +0000 (19:30 +0100)
MFH: rspamd-1.6

src/fuzzy_storage.c

index 54d3db2246a187b878b28b2dffaa2958b16e7503..ef26032a86d2157eb9b2f88578b0336312622e54 100644 (file)
@@ -2809,9 +2809,7 @@ start_fuzzy (struct rspamd_worker *worker)
                                        ucl_object_tostring (ctx->skip_map));
                }
                else {
-                       if (worker->index == 0) {
-                               m->active_http = TRUE;
-                       }
+                       m->active_http = TRUE;
                }
        }