Skip to content

Commit ba7ba31

Browse files
authored
fix thread handler (#2469)
1 parent 6d0394d commit ba7ba31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/helpermodules/utils/_thread_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ def split_chunks(to_split, n):
2727
thread.start()
2828

2929
# Wait for all to complete
30-
for thread in threads_chunk:
30+
for thread in threads_to_keep:
3131
thread.join(timeout=timeout)
3232

33-
for thread in threads_chunk:
33+
for thread in threads_to_keep:
3434
if thread.is_alive():
3535
log.error(f"{thread.name} konnte nicht innerhalb des Timeouts abgearbeitet werden.")
3636
not_finished_threads.append(thread.name)

0 commit comments

Comments
 (0)