aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-06-20 15:50:09 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-06-20 15:50:09 +0100
commit84a77c2132d0de1218e3476bfbac164561bb9726 (patch)
tree7a31a7b5277e55dc0d930bd504aeae5f3bb7c811 /src/libserver
parentd9bdf931be5d31b5a6cb639c067dbd8067ec1ffa (diff)
downloadrspamd-84a77c2132d0de1218e3476bfbac164561bb9726.tar.gz
rspamd-84a77c2132d0de1218e3476bfbac164561bb9726.zip
[Minor] Set pending status where appropriate
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/symcache/symcache_c.cxx1
1 files changed, 1 insertions, 0 deletions
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;