diff options
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) |