File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
* Fix cursor returned by SCAN for RedisCluster & change default target to PRIMARIES
7
7
* Fix scan_iter for RedisCluster
8
8
* Remove verbose logging when initializing ClusterPubSub, ClusterPipeline or RedisCluster
9
+ * Fix broken connection writer lock-up for asyncio (#2065)
9
10
10
11
* 4.1.3 (Feb 8, 2022)
11
12
* Fix flushdb and flushall (#1926)
Original file line number Diff line number Diff line change @@ -827,8 +827,9 @@ async def disconnect(self):
827
827
await self ._writer .wait_closed () # type: ignore[union-attr]
828
828
except OSError :
829
829
pass
830
- self ._reader = None
831
- self ._writer = None
830
+ finally :
831
+ self ._reader = None
832
+ self ._writer = None
832
833
except asyncio .TimeoutError :
833
834
raise TimeoutError (
834
835
f"Timed out closing connection after { self .socket_connect_timeout } "
You can’t perform that action at this time.
0 commit comments