diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2022-04-02 17:58:52 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2022-04-02 17:58:52 +0300 |
commit | 42cbd88a185ed572cf4d93f1576468244839cc4e (patch) | |
tree | ad1ff72a97ef295577ec99ea78ef7161f6ed8f30 /redis_sentinel.c | |
parent | 79313e792eb41c4dcf5ee96cbf24b881ae08d0a7 (diff) |
Issue #1974
Diffstat (limited to 'redis_sentinel.c')
-rw-r--r-- | redis_sentinel.c | 1 |
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) |