Skip to content

Commit dc75ca8

Browse files
committed
fix infinite loop
1 parent e2b6ab8 commit dc75ca8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

openeo/extra/job_management/_manager.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,6 @@ def stop_job_thread(self, timeout_seconds: Optional[float] = _UNSET):
397397
self._worker_pool = None
398398

399399
if self._download_pool is not None:
400-
# Wait for downloads to complete before shutting down
401-
_log.info("Waiting for download tasks to complete before stopping...")
402-
while self._download_pool.num_pending_tasks() > 0:
403-
time.sleep(1)
404400
self._download_pool.shutdown()
405401
self._download_pool = None
406402

0 commit comments

Comments
 (0)