]> source.dussan.org Git - rspamd.git/commitdiff
* Do not sync fuzzy hash storage too often
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 24 Aug 2009 15:44:40 +0000 (19:44 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 24 Aug 2009 15:44:40 +0000 (19:44 +0400)
src/fuzzy_storage.c

index 97c33eed89b86a9bad08c8ebe427844a3888a5c5..296e815624dbec9ee7e856d684d63e4a2c9c9aaf 100644 (file)
@@ -42,7 +42,7 @@
 /* This number is used as limit while comparing two fuzzy hashes, this value can vary from 0 to 100 */
 #define LEV_LIMIT 99
 /* This number is used as limit while we are making decision to write new hash file or not */
-#define MOD_LIMIT 10
+#define MOD_LIMIT 10000
 /* This number is used as expire time in seconds for cache items  (2 days) */
 #define DEFAULT_EXPIRE 172800L
 /* Resync value in seconds */