Removing debugging logs.

This commit is contained in:
Roland 2023-04-01 11:56:30 -06:00
parent ae2b6daa33
commit 5692ddb20d
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -623,8 +623,6 @@ class DownloadManager:
if len(self.data['processing_domains']) >= len(self.workers):
return
logger.debug(f' queue_downloads {self.data["processing_domains"]=}')
# Find download whose domain isn't already being downloaded.
new_downloads = list(session.query(Download).filter(
Download.status == 'new',
@ -634,8 +632,6 @@ class DownloadManager:
Download.frequency,
Download.id)) # noqa
count = 0
new_download_ids = [i.id for i in new_downloads]
logger.debug(f' queue_downloads {new_download_ids=}')
for download in new_downloads:
download.manager = self # Assign this Download to this manager.
domain = download.domain