Skip to content

Commit

Permalink
Fix for error on close
Browse files Browse the repository at this point in the history
  • Loading branch information
tofarr committed Nov 21, 2024
1 parent fc400fe commit 949f825
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openhands/server/session/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ async def _check_and_close_session(self, session: Session):
if redis_client:
key = _CONNECTION_KEY.format(sid=session.sid)
connections_for_session = await redis_client.lrange(key, 0, -1)
testy = await redis_client.get(key+"no_exist")
if not connections_for_session:
await redis_client.delete(key)

Expand Down

0 comments on commit 949f825

Please sign in to comment.