Skip to content

Commit d05d585

Browse files
author
bghira
committed
vaecache: revert
1 parent 7aca789 commit d05d585

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

helpers/caching/vae.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -793,9 +793,7 @@ def process_buckets(self):
793793

794794
# Now, see if we have any futures to complete, and execute them.
795795
# Cleanly removes futures from the list, once they are completed.
796-
# However, processing these on each file read can be problematic, let's do it in batches.
797-
if len(futures) >= 4:
798-
futures = self._process_futures(futures, executor)
796+
futures = self._process_futures(futures, executor)
799797

800798
try:
801799
# Handle remainders after processing the bucket

0 commit comments

Comments
 (0)