mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
re-add "from the global tasks dictionary" comment that was removed
re-add "from the global `tasks` dictionary" comment that was removed
This commit is contained in:
parent
bd883c8026
commit
beb7b0bf3d
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ async def redis_send_command(redis: Redis, command: dict):
|
||||||
|
|
||||||
async def cleanup_task(redis, task_id: str, id=None):
|
async def cleanup_task(redis, task_id: str, id=None):
|
||||||
"""
|
"""
|
||||||
Remove a completed or canceled task with proper exception handling.
|
Remove a completed or canceled task from the global `tasks` dictionary with proper exception handling.
|
||||||
"""
|
"""
|
||||||
cleanup_errors = []
|
cleanup_errors = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue