Skip to content

Commit c7bf140

Browse files
committed
Temporarily disable task gathering at connection close
... to investigate the blockage in the CI, gathering "all_tasks" might be problematic.
1 parent 02b0a62 commit c7bf140

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

juju/client/connection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,13 +451,16 @@ async def close(self, to_reconnect=False):
451451
if self._ws and not self._ws.closed:
452452
await self._ws.close()
453453

454+
"""
455+
Temporarily disabling this to investigate CI blockage
454456
try:
455457
log.debug('Gathering all tasks for connection close')
456458
await jasyncio.gather(*jasyncio.all_tasks())
457459
except jasyncio.CancelledError:
458460
pass
459461
except websockets.exceptions.ConnectionClosed:
460462
pass
463+
"""
461464

462465
self._pinger_task = None
463466
self._receiver_task = None

0 commit comments

Comments
 (0)