diff options
-rw-r--r-- | src/libserver/symbols_cache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index d07d42d10..de0a806fa 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -1633,6 +1633,10 @@ rspamd_symbols_cache_process_symbols (struct rspamd_task * task, RSPAMD_CACHE_PASS_POSTFILTERS) { checkpoint->pass = RSPAMD_CACHE_PASS_POSTFILTERS; } + if (stage == RSPAMD_TASK_STAGE_IDEMPOTENT && checkpoint->pass < + RSPAMD_CACHE_PASS_IDEMPOTENT) { + checkpoint->pass = RSPAMD_CACHE_PASS_IDEMPOTENT; + } msg_debug_task ("symbols processing stage at pass: %d", checkpoint->pass); start_events_pending = rspamd_session_events_pending (task->s); |