mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-22 12:26:08 +00:00
test(workspace): add top-down release gates
This commit is contained in:
@@ -166,8 +166,13 @@ class BoxRuntimeConnector(ManagedRuntimeConnector):
|
||||
try:
|
||||
await self.ping()
|
||||
self.ap.logger.debug('Heartbeat to Box runtime success.')
|
||||
except asyncio.CancelledError:
|
||||
raise
|
||||
except Exception as e:
|
||||
self.ap.logger.debug(f'Failed to heartbeat to Box runtime: {e}')
|
||||
self.ap.logger.warning(f'Heartbeat to Box runtime failed; reconnecting: {e}')
|
||||
if self.runtime_disconnect_callback is not None:
|
||||
await self.runtime_disconnect_callback(self)
|
||||
return
|
||||
|
||||
async def ping(self) -> None:
|
||||
if self._handler is None:
|
||||
|
||||
Reference in New Issue
Block a user