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:
Diffstat (limited to 'redis_sentinel.c')
-rw-r--r--redis_sentinel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis_sentinel.c b/redis_sentinel.c
index ca72640e..632975cd 100644
--- a/redis_sentinel.c
+++ b/redis_sentinel.c
@@ -87,6 +87,7 @@ PHP_METHOD(RedisSentinel, __construct)
if (auth) {
redis_sock_set_auth_zval(obj->sock, auth);
}
+ obj->sock->sentinel = 1;
}
PHP_METHOD(RedisSentinel, ckquorum)