Browse Source

[CritFix] Do not sometimes try to exec posfilters before classification

tags/1.4.0
Vsevolod Stakhov 7 years ago
parent
commit
e2f599d747
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/libserver/symbols_cache.c

+ 3
- 0
src/libserver/symbols_cache.c View File

@@ -1664,9 +1664,12 @@ rspamd_symbols_cache_process_symbols (struct rspamd_task * task,
if (checkpoint->waitq->len == 0 ||
stage == RSPAMD_TASK_STAGE_POST_FILTERS) {
checkpoint->pass = RSPAMD_CACHE_PASS_POSTFILTERS;
}

if (stage == RSPAMD_TASK_STAGE_POST_FILTERS) {
return rspamd_symbols_cache_process_symbols (task, cache, stage);
}

break;

case RSPAMD_CACHE_PASS_POSTFILTERS:

Loading…
Cancel
Save