diff --git a/glob/cnr_utils.py b/glob/cnr_utils.py index c698d8de..31274159 100644 --- a/glob/cnr_utils.py +++ b/glob/cnr_utils.py @@ -29,7 +29,7 @@ async def get_cnr_data(sync_mode=None, dont_wait=True, **kwargs): return await _get_cnr_data(sync_mode, dont_wait) except asyncio.TimeoutError: logging.error(f"[ComfyUI-Manager] A timeout occurred during the fetch process from ComfyRegistry.") - return await _get_cnr_data(sync_mode='cache', dont_wait=True) # timeout fallback + return await _get_cnr_data(sync_mode='local', dont_wait=True) # timeout fallback def get_comfyui_ver(): is_desktop = bool(os.environ.get('__COMFYUI_DESKTOP_VERSION__')) @@ -163,6 +163,10 @@ async def _get_cnr_data(sync_mode=None, dont_wait=True, **kwargs): is_cache_loading = False return cached_data.get('nodes', []) + if sync_mode == 'local': + is_cache_loading = False + return [] + # Fetch CNR async def fetch_all(timestamp_filter, existing_nodes): remained = True