From aba2a7752cd375aed9638f50bf6260ca3a1b4296 Mon Sep 17 00:00:00 2001 From: "jake@prefect.io" Date: Fri, 6 Sep 2024 17:20:01 -0400 Subject: [PATCH] no op sync connection --- src/prefect/events/clients.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/prefect/events/clients.py b/src/prefect/events/clients.py index 0521b92087e1a..5fae4209fa755 100644 --- a/src/prefect/events/clients.py +++ b/src/prefect/events/clients.py @@ -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: