Skip to content

Commit 7aca789

Browse files
author
bghira
committed
vaecache: fix at 4
1 parent da1f485 commit 7aca789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/caching/vae.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def process_buckets(self):
794794
# Now, see if we have any futures to complete, and execute them.
795795
# Cleanly removes futures from the list, once they are completed.
796796
# However, processing these on each file read can be problematic, let's do it in batches.
797-
if len(futures) >= self.max_workers:
797+
if len(futures) >= 4:
798798
futures = self._process_futures(futures, executor)
799799

800800
try:

0 commit comments

Comments
 (0)