diff --git a/redis/asyncio/sentinel.py b/redis/asyncio/sentinel.py index 0389539fcf..fae6875d82 100644 --- a/redis/asyncio/sentinel.py +++ b/redis/asyncio/sentinel.py @@ -326,6 +326,8 @@ def master_for( ): """ Returns a redis client instance for the ``service_name`` master. + Sentinel client will detect failover and reconnect Redis clients + automatically. A :py:class:`~redis.sentinel.SentinelConnectionPool` class is used to retrieve the master's address before establishing a new diff --git a/redis/sentinel.py b/redis/sentinel.py index 521ac24142..02aa244ede 100644 --- a/redis/sentinel.py +++ b/redis/sentinel.py @@ -349,6 +349,8 @@ def master_for( ): """ Returns a redis client instance for the ``service_name`` master. + Sentinel client will detect failover and reconnect Redis clients + automatically. A :py:class:`~redis.sentinel.SentinelConnectionPool` class is used to retrieve the master's address before establishing a new