diff options
| author | Peter van Dijk <peter.van.dijk@powerdns.com> | 2016-11-15 00:40:07 +0100 |
|---|---|---|
| committer | Andy McCurdy <andy@andymccurdy.com> | 2019-12-29 14:05:24 -0800 |
| commit | dca7bd40a3a5d0c0853fe2befe706e214407697b (patch) | |
| tree | 1733abbf899beda9a4cf96ba7c294fede28d6f53 /CHANGES | |
| parent | a41465e17df3448656da45141b7b14de9d1434eb (diff) | |
| download | redis-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-- | CHANGES | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |
