Skip to content

Commit

Permalink
Document Redis(single_connection_client) (#2327)
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasb authored Aug 29, 2022
1 parent a6d473b commit 0b27e3e
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 0b27e3e

Please sign in to comment.