diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-16 17:16:25 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-16 17:16:25 +0000 |
commit | 84b57c53f4f6e9b3915d57b4a5c83570fea50dc3 (patch) | |
tree | 3133d60d190721253f3a9c23c7b023b140790630 /src/libstat/learn_cache/sqlite3_cache.c | |
parent | b19f0f3f12343a6e84baa26e7af7fd223a4fa84c (diff) | |
download | rspamd-84b57c53f4f6e9b3915d57b4a5c83570fea50dc3.tar.gz rspamd-84b57c53f4f6e9b3915d57b4a5c83570fea50dc3.zip |
[Minor] Allow to have bulk learn in the default config
Diffstat (limited to 'src/libstat/learn_cache/sqlite3_cache.c')
-rw-r--r-- | src/libstat/learn_cache/sqlite3_cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstat/learn_cache/sqlite3_cache.c b/src/libstat/learn_cache/sqlite3_cache.c index 255c835bb..52921326d 100644 --- a/src/libstat/learn_cache/sqlite3_cache.c +++ b/src/libstat/learn_cache/sqlite3_cache.c @@ -221,6 +221,8 @@ rspamd_stat_cache_sqlite3_check (struct rspamd_task *task, /* We have some existing record in the table */ if (!!flag == !!is_spam) { /* Already learned */ + msg_warn_task ("already seen stat hash: %*bs", + rspamd_cryptobox_HASHBYTES, out); return RSPAMD_LEARN_INGORE; } else { |