From 84a77c2132d0de1218e3476bfbac164561bb9726 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 20 Jun 2024 15:50:09 +0100 Subject: [PATCH] [Minor] Set pending status where appropriate --- src/libserver/symcache/symcache_c.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libserver/symcache/symcache_c.cxx b/src/libserver/symcache/symcache_c.cxx index b7514d2f3..047fc1181 100644 --- a/src/libserver/symcache/symcache_c.cxx +++ b/src/libserver/symcache/symcache_c.cxx @@ -607,6 +607,7 @@ unsigned int rspamd_symcache_item_async_inc_full(struct rspamd_task *task, if (nevents > 1) { /* Item is async */ static_item->internal_flags &= ~rspamd::symcache::cache_item::bit_sync; + real_dyn_item->status = rspamd::symcache::cache_item_status::pending; } return nevents; -- 2.39.5