From a8a1166ad90be71a78fc5dfd4d6d74d783b570b9 Mon Sep 17 00:00:00 2001 From: Povilas Balciunas Date: Mon, 8 Aug 2022 16:50:25 +0300 Subject: [PATCH] Document Redis(single_connection_client) --- redis/client.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/redis/client.py b/redis/client.py index 39fbcdea7a..0662a99ea1 100755 --- a/redis/client.py +++ b/redis/client.py @@ -945,6 +945,12 @@ def __init__( `retry_on_error` to a list of the error/s to retry on, then set `retry` to a valid `Retry` object. To retry on TimeoutError, `retry_on_timeout` can also be set to `True`. + + Args: + + single_connection_client: + if `True`, connection pool is not used. In that case `Redis` + instance use is not thread safe. """ if not connection_pool: if charset is not None: