mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
fixed: perform reload when starting task worker
This commit is contained in:
parent
d638f75117
commit
7657c7866f
@ -464,6 +464,8 @@ async def task_worker():
|
|||||||
global task_queue
|
global task_queue
|
||||||
global tasks_in_progress
|
global tasks_in_progress
|
||||||
|
|
||||||
|
await core.unified_manager.reload('cache')
|
||||||
|
|
||||||
async def do_install(item) -> str:
|
async def do_install(item) -> str:
|
||||||
ui_id, node_spec_str, channel, mode, skip_post_install = item
|
ui_id, node_spec_str, channel, mode, skip_post_install = item
|
||||||
|
|
||||||
|
|||||||
@ -464,6 +464,8 @@ async def task_worker():
|
|||||||
global task_queue
|
global task_queue
|
||||||
global tasks_in_progress
|
global tasks_in_progress
|
||||||
|
|
||||||
|
await core.unified_manager.reload('cache')
|
||||||
|
|
||||||
async def do_install(item) -> str:
|
async def do_install(item) -> str:
|
||||||
ui_id, node_spec_str, channel, mode, skip_post_install = item
|
ui_id, node_spec_str, channel, mode, skip_post_install = item
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user