From 37ac48946988946f5b67b7933343ef0163a727d9 Mon Sep 17 00:00:00 2001 From: LKuemmel Date: Tue, 17 Jun 2025 07:32:44 +0200 Subject: [PATCH] fix thread handler --- packages/helpermodules/utils/_thread_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/helpermodules/utils/_thread_handler.py b/packages/helpermodules/utils/_thread_handler.py index 50eda1dfee..55c3120dd5 100644 --- a/packages/helpermodules/utils/_thread_handler.py +++ b/packages/helpermodules/utils/_thread_handler.py @@ -27,10 +27,10 @@ def split_chunks(to_split, n): thread.start() # Wait for all to complete - for thread in threads_chunk: + for thread in threads_to_keep: thread.join(timeout=timeout) - for thread in threads_chunk: + for thread in threads_to_keep: if thread.is_alive(): log.error(f"{thread.name} konnte nicht innerhalb des Timeouts abgearbeitet werden.") not_finished_threads.append(thread.name)