summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2014-05-27 13:14:30 -0700
committerAndy McCurdy <andy@andymccurdy.com>2014-05-27 13:14:30 -0700
commiteb56ddec86b7a0a79846ca2a606c36e1f29c6693 (patch)
treefaf4676f7e5ed4b772febe4a8afacdb763b4035d
parent0647659c2f3550063c404a616ba37987c9158149 (diff)
downloadredis-py-eb56ddec86b7a0a79846ca2a606c36e1f29c6693.tar.gz
changelog
-rw-r--r--CHANGES5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index d64f5e3..e41d982 100644
--- a/CHANGES
+++ b/CHANGES
@@ -62,6 +62,11 @@
socket_keepalive_options option which expects a dictionary with any of
the keys (socket.TCP_KEEPIDLE, socket.TCP_KEEPCNT, socket.TCP_KEEPINTVL)
and integers for values. Thanks Yossi Gottlieb.
+ * Added a `retry_on_timeout` option that controls how socket.timeout errors
+ are handled. By default it is set to False and will cause the client to
+ raise a TimeoutError anytime a socket.timeout is encountered. If
+ `retry_on_timeout` is set to True, the client will retry a command that
+ timed out once like other `socket.error`s.
* 2.9.1
* IPv6 support. Thanks https://github.com/amashinchi
* 2.9.0