Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
144e6580
"...lm-evaluation-harness.git" did not exist on "ff148cd862f51617724cf1f2c48dc83c47df980c"
Commit
144e6580
authored
Dec 29, 2023
by
comfyanonymous
Browse files
This cache timeout is pretty useless in practice.
parent
04b713dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
folder_paths.py
folder_paths.py
+1
-2
No files found.
folder_paths.py
View file @
144e6580
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment