summaryrefslogtreecommitdiff
path: root/redis
diff options
context:
space:
mode:
authorPovilas Balciunas <balciunas90@gmail.com>2022-08-30 01:39:36 +0200
committerGitHub <noreply@github.com>2022-08-30 02:39:36 +0300
commit0b27e3ebdfd7e7dd67222bcb043fcdfcc907bd42 (patch)
treecf6b3c547123551fc839965bf23e355367831ed9 /redis
parenta6d473b9e5f09902426042057b0dff9e420d9b98 (diff)
downloadredis-py-0b27e3ebdfd7e7dd67222bcb043fcdfcc907bd42.tar.gz
Document Redis(single_connection_client) (#2327)
Diffstat (limited to 'redis')
-rwxr-xr-xredis/client.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index 39fbcde..0662a99 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -945,6 +945,12 @@ class Redis(AbstractRedis, RedisModuleCommands, CoreCommands, SentinelCommands):
`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: