From 42cbd88a185ed572cf4d93f1576468244839cc4e Mon Sep 17 00:00:00 2001 From: Pavlo Yatsukhnenko Date: Sat, 2 Apr 2022 17:58:52 +0300 Subject: Issue #1974 --- redis_sentinel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'redis_sentinel.c') 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) -- cgit v1.2.3