ComfyUI/app
abhay-codes07 7f747f0e68
Fix model file list cache never being reused
cache_model_file_list_ compared os.path.getmtime(folder) (a float)
against model_file_list_cache[1] (the dirs dict), which is always
unequal, so the check returned None on every call and the model tree
was re-walked on each /experiment/models request.

The top-level folder was also never recorded in dirs, so drop the
broken scalar comparison and instead seed the folder's own mtime into
dirs (matching folder_paths.recursive_search) so it is validated by the
existing per-directory loop and direct additions still invalidate the cache.
2026-07-12 14:53:28 +05:30
..
assets feat(assets): add namespaced model_type tags and align tag semantics (#14511) 2026-07-08 22:00:08 -07:00
database feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
__init__.py Add FrontendManager to manage non-default front-end impl (#3897) 2024-07-16 11:26:11 -04:00
app_settings.py Update frontend to v1.25.10 and revert navigation mode override (#9522) 2025-08-23 17:54:01 -04:00
custom_node_manager.py Remove useless annotations imports. (#14105) 2026-05-25 19:23:29 -07:00
frontend_management.py Remove useless annotations imports. (#14105) 2026-05-25 19:23:29 -07:00
logger.py Add colored logs (#14036) 2026-05-25 10:00:55 +08:00
model_manager.py Fix model file list cache never being reused 2026-07-12 14:53:28 +05:30
node_replace_manager.py fix: make NodeReplaceManager.register() idempotent (#13596) 2026-05-07 19:21:12 -07:00
subgraph_manager.py fix: specify UTF-8 encoding when reading subgraph files (#12563) 2026-02-21 15:05:00 -08:00
user_manager.py security: fix four vulnerabilities (GHSA-779p-m5rp-r4h4) (#14734) 2026-07-02 20:44:54 -07:00