diff options
author | Kristján Valur Jónsson <sweskman@gmail.com> | 2022-09-29 13:37:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 16:37:55 +0300 |
commit | b0883b791f95a595fae70bcedf3ad0f73c00e258 (patch) | |
tree | 6bfeb975aa6b9ec6325e90246230d01172beb1a6 /CHANGES | |
parent | cdbc662adcd303d2525f3ace70531aa37a755652 (diff) | |
download | redis-py-b0883b791f95a595fae70bcedf3ad0f73c00e258.tar.gz |
Simplify async timeouts and allowing `timeout=None` in `PubSub.get_message()` to wait forever (#2295)v4.4.0rc2
* Avoid an extra "can_read" call and use timeout directly.
* Remove low-level read timeouts from the Parser, now handled in the Connection
* Allow pubsub.get_message(time=None) to block.
* update Changes
* increase test timeout for robustness
* expand with statement to avoid invoking null context managers.
remove nullcontext
* Remove unused import
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,3 +1,4 @@ + * Allow `timeout=None` in `PubSub.get_message()` to wait forever * add `nowait` flag to `asyncio.Connection.disconnect()` * Update README.md links * Fix timezone handling for datetime to unixtime conversions |