Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tofarr committed Nov 23, 2024
1 parent dd5fc6f commit 0d5dda0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openhands/server/session/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ async def _redis_subscribe(self):
if session:
await session.dispatch(data["data"])
elif message_type == "restart":
logger.info("got_transfer_request")
connection_id = data["connection_id"]
if self.local_connection_id_to_session_id.get(connection_id) == sid:
logger.info("transferring_session_to_local")
await self.init_or_join_session(sid, connection_id, data["settings"])
except asyncio.CancelledError:
return
Expand Down

0 comments on commit 0d5dda0

Please sign in to comment.