diff options
author | dormando <dormando@rydia.net> | 2017-08-27 11:51:27 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-08-27 11:51:27 -0700 |
commit | c5b3ecba410477fc2ada57b77aa84d53694ed5a5 (patch) | |
tree | cabf0b13235aa6c8815e95705e72613952d2f18c /memcached.h | |
parent | 265d407fd817978f6e245a19eaca49a3c628fcf4 (diff) | |
download | memcached-c5b3ecba410477fc2ada57b77aa84d53694ed5a5.tar.gz |
don't create hashtables larger than 32bit
most other stats related to items should be 64bit, so the totals should be
ableable to go higher until we get 64bit hash tables.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/memcached.h b/memcached.h index 3332360..3a7d47f 100644 --- a/memcached.h +++ b/memcached.h @@ -64,6 +64,7 @@ /* Initial power multiplier for the hash table */ #define HASHPOWER_DEFAULT 16 +#define HASHPOWER_MAX 32 /* * We only reposition items in the LRU queue if they haven't been repositioned |