We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e05fd72 commit 882ea95Copy full SHA for 882ea95
src/replit_river/v2/session.py
@@ -418,8 +418,8 @@ async def close(
418
# ... message processor so it can exit cleanly
419
self._process_messages.set()
420
421
- # Wait a tick to permit the waiting tasks to shut down gracefully
422
- await asyncio.sleep(0.01)
+ # Wait to permit the waiting tasks to shut down gracefully
+ await asyncio.sleep(0.25)
423
424
await self._task_manager.cancel_all_tasks()
425
0 commit comments