mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-17 02:12:58 +08:00
Merge e26927a881 into bba55d4d5a
This commit is contained in:
commit
81b9d289e9
@ -811,7 +811,7 @@ class UnifiedManager:
|
|||||||
dont_wait = True
|
dont_wait = True
|
||||||
|
|
||||||
# reload 'cnr_map' and 'repo_cnr_map'
|
# reload 'cnr_map' and 'repo_cnr_map'
|
||||||
cnrs = await cnr_utils.get_cnr_data(cache_mode=cache_mode=='cache', dont_wait=dont_wait)
|
cnrs = await cnr_utils.get_cnr_data(cache_mode=True, dont_wait=dont_wait)
|
||||||
|
|
||||||
for x in cnrs:
|
for x in cnrs:
|
||||||
self.cnr_map[x['id']] = x
|
self.cnr_map[x['id']] = x
|
||||||
|
|||||||
@ -1796,9 +1796,10 @@ async def default_cache_update():
|
|||||||
if core.get_config()['network_mode'] == 'private':
|
if core.get_config()['network_mode'] == 'private':
|
||||||
logging.info("[ComfyUI-Manager] The private comfyregistry is not yet supported in `network_mode=private`.")
|
logging.info("[ComfyUI-Manager] The private comfyregistry is not yet supported in `network_mode=private`.")
|
||||||
else:
|
else:
|
||||||
# load at least once
|
# use configured db_mode for startup data loading
|
||||||
await core.unified_manager.reload('remote', dont_wait=False)
|
db_mode = core.get_config()['db_mode']
|
||||||
await core.unified_manager.get_custom_nodes(channel_url, 'remote')
|
await core.unified_manager.reload(db_mode, dont_wait=False)
|
||||||
|
await core.unified_manager.get_custom_nodes(channel_url, db_mode)
|
||||||
|
|
||||||
logging.info("[ComfyUI-Manager] All startup tasks have been completed.")
|
logging.info("[ComfyUI-Manager] All startup tasks have been completed.")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user