This cache timeout is pretty useless in practice.
This commit is contained in:
parent
04b713dda1
commit
144e6580a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue