diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-07 18:15:54 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-07 18:15:54 +0300 |
commit | c28181fe44aefc2c4e31b0d76c50c2793dcc1702 (patch) | |
tree | cf9af7ee130e205d85546b3a14913da40afb05bd /src/kvstorage_config.h | |
parent | d461b9f83ab8c2b6cc2a762f135e87687f51a8dd (diff) | |
download | rspamd-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.h | 6 |
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 */ |