summaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-21 19:30:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-21 19:30:09 +0100
commit2a60b74c7c38c8e857adc6452c3002530d167be6 (patch)
treebaaea86f5b2906ea74cfed1b232f251eac26a7c6 /src/fuzzy_storage.c
parent5e43ee598e71c01f1ceda2b11e287d9c353a8a32 (diff)
downloadrspamd-2a60b74c7c38c8e857adc6452c3002530d167be6.tar.gz
rspamd-2a60b74c7c38c8e857adc6452c3002530d167be6.zip
[Fix] Load skip map from all processes as shared cache is unavailable
MFH: rspamd-1.6
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 54d3db224..ef26032a8 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -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;
}
}