commit 166afe1: [Minor] Do not set start bit to enable 2 passes
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Feb 21 15:21:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-02-21 15:14:31 +0000
URL: https://github.com/rspamd/rspamd/commit/166afe198d0a900a6b575f2c6bcea2062005720c (HEAD -> master)
[Minor] Do not set start bit to enable 2 passes
---
src/libserver/rspamd_symcache.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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);
}
More information about the Commits
mailing list