summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorPeter van Dijk <peter.van.dijk@powerdns.com>2016-11-15 00:40:07 +0100
committerAndy McCurdy <andy@andymccurdy.com>2019-12-29 14:05:24 -0800
commitdca7bd40a3a5d0c0853fe2befe706e214407697b (patch)
tree1733abbf899beda9a4cf96ba7c294fede28d6f53 /CHANGES
parenta41465e17df3448656da45141b7b14de9d1434eb (diff)
downloadredis-py-dca7bd40a3a5d0c0853fe2befe706e214407697b.tar.gz
Allow setting client_name during connection construction.
Client instances and Connection pools now accept "client_name" as an optional argument. If supplied, all connections created will be named via CLIENT SETNAME once the connection to the server is established.
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index a8eb848..7cff020 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,10 @@
pipeline instances relied on __len__ for boolean evaluation which
meant that pipelines with no commands on the stack would be considered
False. #994
+ * Client instances and Connection pools now support a 'client_name'
+ argument. If supplied, all connections created will call CLIENT SETNAME
+ as soon as the connection is opened. Thanks to @Habbie for supplying
+ the basis of this chanfge. #802
* 3.3.11
* Further fix for the SSLError -> TimeoutError mapping to work
on obscure releases of Python 2.7.