Skip to content

Commit

Permalink
Document Redis(single_connection_client)
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasb committed Aug 8, 2022
1 parent 2cea637 commit a8a1166
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions redis/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a8a1166

Please sign in to comment.