Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

This cache timeout is pretty useless in practice.

comfyanonymous144e6580a4a4
diff --git a/folder_paths.py b/folder_paths.py
index 98704945e..a8726d8dd 100644
--- a/folder_paths.py
+++ b/folder_paths.py
@@ -184,8 +184,7 @@ def cached_filename_list_(folder_name):
if folder_name not in filename_list_cache:
return None
out = filename_list_cache[folder_name]
- if time.perf_counter() < (out[2] + 0.5):
- return out
+
for x in out[1]:
time_modified = out[1][x]
folder = x