Skip to content

Commit

Permalink
Merge branch 'feat-socket-io' of github.com:All-Hands-AI/OpenHands in…
Browse files Browse the repository at this point in the history
…to feat-socket-io
  • Loading branch information
tofarr committed Nov 21, 2024
2 parents 3615a99 + 824b7ec commit afc69e6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openhands/server/session/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ async def _send(self, data: dict[str, object]) -> bool:
if not self.is_alive:
return False
if self.sio:
#await self.loop.create_task(self.sio.emit("oh_event", data, to=ROOM_KEY.format(sid=self.sid)))
await self.sio.emit("oh_event", data, to=ROOM_KEY.format(sid=self.sid))
await asyncio.sleep(0.001) # This flushes the data to the client
self.last_active_ts = int(time.time())
Expand Down

0 comments on commit afc69e6

Please sign in to comment.