perf: turn back on async file upload
This commit is contained in:
+2
-2
@@ -986,8 +986,8 @@ async def update_run_with_output(prompt_id, data, node_id=None):
|
||||
if have_upload:
|
||||
await update_file_status(prompt_id, data, True, node_id=node_id)
|
||||
|
||||
# asyncio.create_task(upload_in_background(prompt_id, data, node_id=node_id, have_upload=have_upload))
|
||||
await upload_in_background(prompt_id, data, node_id=node_id, have_upload=have_upload)
|
||||
asyncio.create_task(upload_in_background(prompt_id, data, node_id=node_id, have_upload=have_upload))
|
||||
# await upload_in_background(prompt_id, data, node_id=node_id, have_upload=have_upload)
|
||||
|
||||
except Exception as e:
|
||||
await handle_error(prompt_id, data, e)
|
||||
|
||||
Reference in New Issue
Block a user