mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
remove 1s sleep from _ensure_session (runtime) (#3439)
This commit is contained in:
parent
9cb0bf97c1
commit
944f934475
@ -183,7 +183,6 @@ class EventStreamRuntime(Runtime):
|
||||
raise e
|
||||
|
||||
async def _ensure_session(self):
|
||||
await asyncio.sleep(1)
|
||||
if self.session is None or self.session.closed:
|
||||
self.session = aiohttp.ClientSession()
|
||||
return self.session
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user