reduce log spam
This commit is contained in:
parent
e4794eda7c
commit
65e7d3e6fc
1 changed files with 2 additions and 2 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Reference in a new issue