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>2022-04-02 17:58:52 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2022-04-02 17:58:52 +0300
commit42cbd88a185ed572cf4d93f1576468244839cc4e (patch)
treead1ff72a97ef295577ec99ea78ef7161f6ed8f30 /redis_sentinel.c
parent79313e792eb41c4dcf5ee96cbf24b881ae08d0a7 (diff)
Issue #1974
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)