We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e5b8f commit 2b8da43Copy full SHA for 2b8da43
content/develop/clients/redis-py/connect.md
@@ -242,3 +242,13 @@ r3.close()
242
243
pool.close()
244
```
245
+
246
+## Retrying connections
247
248
+A connection will sometimes fail because of a transient problem, such as a
249
+network outage or a server that is temporarily unavailable. In these cases,
250
+retrying the connection after a short delay will usually succeed. `redis-py` uses
251
+a simple retry strategy by default, but there are various ways you can customize
252
+this behavior to suit your use case. See
253
+[Retries]({{< relref "/develop/clients/redis-py/produsage#retries" >}})
254
+for more information about custom retry strategies, with example code.
0 commit comments