Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-12-20 16:04:13 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-12-22 16:31:51 +0300
commitbb32e6f3a0e93b1de9235de2db496fb1bfc400d0 (patch)
tree32bea8aa6ba652927b18d810d8c0a08b86070498 /redis.c
parent3e7e1c833d08aac4e0eeb4e37dcc44768c8b117c (diff)
Implement consistent hashing algorithm for RedisArray
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis.c b/redis.c
index 5dad4917..cf08d762 100644
--- a/redis.c
+++ b/redis.c
@@ -67,6 +67,7 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY("redis.arrays.previous", "", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("redis.arrays.readtimeout", "0", PHP_INI_ALL, NULL)
PHP_INI_ENTRY("redis.arrays.retryinterval", "0", PHP_INI_ALL, NULL)
+ PHP_INI_ENTRY("redis.arrays.consistent", "0", PHP_INI_ALL, NULL)
/* redis cluster */
PHP_INI_ENTRY("redis.clusters.persistent", "0", PHP_INI_ALL, NULL)