Merge pull request #608 from rdiaz738/master

Fixed MAX_CONCURRENT_DOWNLOADS and button styling
This commit is contained in:
Alex 2025-03-07 09:47:18 +02:00 committed by GitHub
commit cc5f22abf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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