aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvstorage_config.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-07 18:15:54 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-07 18:15:54 +0300
commitc28181fe44aefc2c4e31b0d76c50c2793dcc1702 (patch)
treecf9af7ee130e205d85546b3a14913da40afb05bd /src/kvstorage_config.h
parentd461b9f83ab8c2b6cc2a762f135e87687f51a8dd (diff)
downloadrspamd-c28181fe44aefc2c4e31b0d76c50c2793dcc1702.tar.gz
rspamd-c28181fe44aefc2c4e31b0d76c50c2793dcc1702.zip
* Add judy storage for fast caching.
Fix LRU expiration.
Diffstat (limited to 'src/kvstorage_config.h')
-rw-r--r--src/kvstorage_config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kvstorage_config.h b/src/kvstorage_config.h
index 7a3553f00..74adc0642 100644
--- a/src/kvstorage_config.h
+++ b/src/kvstorage_config.h
@@ -31,7 +31,11 @@
/* Type of kvstorage cache */
enum kvstorage_cache_type {
KVSTORAGE_TYPE_CACHE_HASH,
- KVSTORAGE_TYPE_CACHE_RADIX
+ KVSTORAGE_TYPE_CACHE_RADIX,
+#ifdef WITH_JUDY
+ KVSTORAGE_TYPE_CACHE_JUDY,
+#endif
+ KVSTORAGE_TYPE_MAX = 255
};
/* Type of kvstorage backend */