From: Vsevolod Stakhov Date: Thu, 20 Jun 2024 14:50:09 +0000 (+0100) Subject: [Minor] Set pending status where appropriate X-Git-Tag: 3.9.0~17^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=84a77c2132d0de1218e3476bfbac164561bb9726;p=rspamd.git [Minor] Set pending status where appropriate --- 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;