]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Do not set start bit to enable 2 passes
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 Feb 2019 15:14:31 +0000 (15:14 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 21 Feb 2019 15:14:31 +0000 (15:14 +0000)
src/libserver/rspamd_symcache.c

index a41d1b9cdd7d0c8154210d99201facdc165f1528..615c7cdf61da3513a077c440e357c7cc663c75bc 100644 (file)
@@ -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);
                }