]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Set pending status where appropriate
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 20 Jun 2024 14:50:09 +0000 (15:50 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 20 Jun 2024 14:50:09 +0000 (15:50 +0100)
src/libserver/symcache/symcache_c.cxx

index b7514d2f36f30fd1a016166efb10d560c5329b9c..047fc1181885009ed1e10f7bacecdf3128be8579 100644 (file)
@@ -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;