From c902ecdf5a000d02884dbcd811e7f97b5477ad9f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 24 Aug 2009 19:44:40 +0400 Subject: [PATCH] * Do not sync fuzzy hash storage too often --- src/fuzzy_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5