File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -863,7 +863,7 @@ async def _reset(
863
863
if close :
864
864
if not _IS_SYNC :
865
865
await asyncio .gather (
866
- * [conn ._close_conn (ConnectionClosedReason .POOL_CLOSED ) for conn in sockets ]
866
+ * [conn .close_conn (ConnectionClosedReason .POOL_CLOSED ) for conn in sockets ]
867
867
)
868
868
else :
869
869
for conn in sockets :
@@ -899,7 +899,7 @@ async def _reset(
899
899
)
900
900
if not _IS_SYNC :
901
901
await asyncio .gather (
902
- * [conn ._close_conn (ConnectionClosedReason .STALE ) for conn in sockets ]
902
+ * [conn .close_conn (ConnectionClosedReason .STALE ) for conn in sockets ]
903
903
)
904
904
else :
905
905
for conn in sockets :
@@ -951,7 +951,7 @@ async def remove_stale_sockets(self, reference_generation: int) -> None:
951
951
close_conns .append (self .conns .pop ())
952
952
if not _IS_SYNC :
953
953
await asyncio .gather (
954
- * [conn ._close_conn (ConnectionClosedReason .IDLE ) for conn in close_conns ]
954
+ * [conn .close_conn (ConnectionClosedReason .IDLE ) for conn in close_conns ]
955
955
)
956
956
else :
957
957
for conn in close_conns :
Original file line number Diff line number Diff line change @@ -861,7 +861,7 @@ def _reset(
861
861
if close :
862
862
if not _IS_SYNC :
863
863
asyncio .gather (
864
- * [conn ._close_conn (ConnectionClosedReason .POOL_CLOSED ) for conn in sockets ]
864
+ * [conn .close_conn (ConnectionClosedReason .POOL_CLOSED ) for conn in sockets ]
865
865
)
866
866
else :
867
867
for conn in sockets :
@@ -896,9 +896,7 @@ def _reset(
896
896
serviceId = service_id ,
897
897
)
898
898
if not _IS_SYNC :
899
- asyncio .gather (
900
- * [conn ._close_conn (ConnectionClosedReason .STALE ) for conn in sockets ]
901
- )
899
+ asyncio .gather (* [conn .close_conn (ConnectionClosedReason .STALE ) for conn in sockets ])
902
900
else :
903
901
for conn in sockets :
904
902
conn .close_conn (ConnectionClosedReason .STALE )
@@ -947,7 +945,7 @@ def remove_stale_sockets(self, reference_generation: int) -> None:
947
945
close_conns .append (self .conns .pop ())
948
946
if not _IS_SYNC :
949
947
asyncio .gather (
950
- * [conn ._close_conn (ConnectionClosedReason .IDLE ) for conn in close_conns ]
948
+ * [conn .close_conn (ConnectionClosedReason .IDLE ) for conn in close_conns ]
951
949
)
952
950
else :
953
951
for conn in close_conns :
You can’t perform that action at this time.
0 commit comments