Skip to content

Commit 44c1101

Browse files
committed
Replace ProcessPoolExecutor with ThreadPoolExecutor
1 parent fb8e8e9 commit 44c1101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thumbnails/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def generate(self):
6262
self.inputs.values(),
6363
)
6464

65-
with concurrent.futures.ProcessPoolExecutor() as executor:
65+
with concurrent.futures.ThreadPoolExecutor() as executor:
6666
executor.map(
6767
functools.partial(
6868
self.worker,

0 commit comments

Comments
 (0)