From: Vsevolod Stakhov Date: Thu, 21 Feb 2019 15:14:31 +0000 (+0000) Subject: [Minor] Do not set start bit to enable 2 passes X-Git-Tag: 1.9.0~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=166afe198d0a900a6b575f2c6bcea2062005720c;p=rspamd.git [Minor] Do not set start bit to enable 2 passes --- diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c index a41d1b9cd..615c7cdf6 100644 --- a/src/libserver/rspamd_symcache.c +++ b/src/libserver/rspamd_symcache.c @@ -2860,7 +2860,8 @@ rspamd_symcache_composites_foreach (struct rspamd_task *task, dyn_item = rspamd_symcache_get_dynamic (task->checkpoint, item); if (!CHECK_START_BIT (task->checkpoint, dyn_item)) { - SET_START_BIT (task->checkpoint, dyn_item); + /* Cannot do it due to 2 passes */ + /* SET_START_BIT (task->checkpoint, dyn_item); */ func (item->symbol, item->specific.normal.user_data, fd); SET_FINISH_BIT (task->checkpoint, dyn_item); }