diff --git a/app/library/DownloadQueue.py b/app/library/DownloadQueue.py index cbb6b810..757b22c1 100644 --- a/app/library/DownloadQueue.py +++ b/app/library/DownloadQueue.py @@ -614,9 +614,9 @@ class DownloadQueue(metaclass=Singleton): while True: if self.pool.has_open_workers() is True: break - if self.config.max_workers > 1 and time.time() - lastLog > 120: + if self.config.max_workers > 1 and time.time() - lastLog > 600: lastLog = time.time() - LOG.info(f"Waiting for worker to be free. {self.pool.get_workers_status()}") + LOG.info("Waiting for worker to be free.", extra={"workers": self.pool.get_available_workers()}) await asyncio.sleep(1) while not self.queue.has_downloads():