Skip to content

Commit

Permalink
no op sync connection
Browse files Browse the repository at this point in the history
  • Loading branch information
jakekaplan committed Sep 6, 2024
1 parent 0736e44 commit aba2a77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/prefect/events/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,10 @@ async def __aexit__(
return await super().__aexit__(exc_type, exc_val, exc_tb)

def raise_for_connection_error(self):
with self._sync_connect() as ws:
pong = ws.ping()
pong.wait()
pass
# with self._sync_connect() as ws:
# pong = ws.ping()
# pong.wait()

async def araise_for_connection_error(self):
async with self._deferred_connect() as ws:
Expand Down

0 comments on commit aba2a77

Please sign in to comment.