From: Vsevolod Stakhov Date: Mon, 24 Aug 2009 15:44:40 +0000 (+0400) Subject: * Do not sync fuzzy hash storage too often X-Git-Tag: 0.2.7~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c902ecdf5a000d02884dbcd811e7f97b5477ad9f;p=rspamd.git * Do not sync fuzzy hash storage too often --- diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 97c33eed8..296e81562 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -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 */