Fix for 605 and 607

This commit is contained in:
rdiaz738 2025-03-06 18:29:06 -08:00
parent e281d61773
commit 8ea3359730
2 changed files with 10 additions and 2 deletions

View file

@ -232,7 +232,7 @@ class DownloadQueue:
if self.config.DOWNLOAD_MODE == 'sequential':
self.seq_lock = asyncio.Lock()
elif self.config.DOWNLOAD_MODE == 'limited':
self.semaphore = asyncio.Semaphore(self.config.MAX_CONCURRENT_DOWNLOADS)
self.semaphore = asyncio.Semaphore(int(self.config.MAX_CONCURRENT_DOWNLOADS))
self.done.load()

View file

@ -99,7 +99,15 @@ td
.modal-header
border-bottom: 1px solid #eee
.modal-body
textarea.form-control
resize: vertical
.add-url
display: inline-flex
align-items: center
justify-content: center
.spinner-border
margin-right: 0.5rem