aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-24 19:44:40 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-24 19:44:40 +0400
commitc902ecdf5a000d02884dbcd811e7f97b5477ad9f (patch)
treed7a79c4277f0efb6033d860fb89fcc5925f98ba7 /src/fuzzy_storage.c
parent0dac00b290d9c177546e9d545b80be24edd5649f (diff)
downloadrspamd-c902ecdf5a000d02884dbcd811e7f97b5477ad9f.tar.gz
rspamd-c902ecdf5a000d02884dbcd811e7f97b5477ad9f.zip
* Do not sync fuzzy hash storage too often
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c2
1 files changed, 1 insertions, 1 deletions
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 */