diff --git a/docs/environment-variables.md b/docs/environment-variables.md index f9ceed48..d403e289 100644 --- a/docs/environment-variables.md +++ b/docs/environment-variables.md @@ -549,8 +549,8 @@ Audiobooks only. AudiobookBay lists it for most releases. In Prowlarr results it | `HARDLINK_TORRENTS_AUDIOBOOK` | Create hardlinks instead of copying. Preserves seeding but archives won't be extracted. Don't use if destination is a library ingest folder. | boolean | `true` | | `AUTO_OPEN_DOWNLOADS_SIDEBAR` | Automatically open the downloads sidebar when a new download is queued. | boolean | `false` | | `DOWNLOAD_TO_BROWSER_CONTENT_TYPES` | Automatically download completed files to your browser for the selected content types. | string (comma-separated) | _empty list_ | -| `MAX_CONCURRENT_DOWNLOADS` | Maximum number of simultaneous downloads. | number | `3` | -| `MAX_CONCURRENT_DOWNLOADS_PER_SOURCE` | Simultaneous downloads allowed from each source (Soulseek, AudiobookBay, Direct Download and so on). A source at its limit does not hold the others back, so a Soulseek download waiting in a peer's queue cannot stop a torrent from starting. 0 uses the single limit above for all sources together. | number | `0` | +| `MAX_CONCURRENT_DOWNLOADS` | Maximum number of simultaneous downloads. Not used while Max Concurrent Downloads Per Source is above 0. | number | `3` | +| `MAX_CONCURRENT_DOWNLOADS_PER_SOURCE` | Simultaneous downloads allowed from each source (Soulseek, AudiobookBay, Direct Download and so on). A source at its limit does not hold the others back, so a Soulseek download waiting in a peer's queue cannot stop a torrent from starting. Above 0 this replaces Max Concurrent Downloads: the total can be this number for every source that has downloads at once. 0 uses the single limit above for all sources together. | number | `0` | | `STATUS_TIMEOUT` | How long to keep completed/failed downloads in the queue display. | number | `3600` |
@@ -854,7 +854,7 @@ Automatically download completed files to your browser for the selected content **Max Concurrent Downloads** -Maximum number of simultaneous downloads. +Maximum number of simultaneous downloads. Not used while Max Concurrent Downloads Per Source is above 0. - **Type:** number - **Default:** `3` @@ -865,7 +865,7 @@ Maximum number of simultaneous downloads. **Max Concurrent Downloads Per Source** -Simultaneous downloads allowed from each source (Soulseek, AudiobookBay, Direct Download and so on). A source at its limit does not hold the others back, so a Soulseek download waiting in a peer's queue cannot stop a torrent from starting. 0 uses the single limit above for all sources together. +Simultaneous downloads allowed from each source (Soulseek, AudiobookBay, Direct Download and so on). A source at its limit does not hold the others back, so a Soulseek download waiting in a peer's queue cannot stop a torrent from starting. Above 0 this replaces Max Concurrent Downloads: the total can be this number for every source that has downloads at once. 0 uses the single limit above for all sources together. - **Type:** number - **Default:** `0` diff --git a/shelfmark/config/settings.py b/shelfmark/config/settings.py index c95f7030..81119d2c 100644 --- a/shelfmark/config/settings.py +++ b/shelfmark/config/settings.py @@ -1486,7 +1486,10 @@ def download_settings() -> list[SettingsField]: NumberField( key="MAX_CONCURRENT_DOWNLOADS", label="Max Concurrent Downloads", - description="Maximum number of simultaneous downloads.", + description=( + "Maximum number of simultaneous downloads. Not used while Max Concurrent " + "Downloads Per Source is above 0." + ), default=3, min_value=1, max_value=10, @@ -1499,7 +1502,9 @@ def download_settings() -> list[SettingsField]: "Simultaneous downloads allowed from each source (Soulseek, AudiobookBay, " "Direct Download and so on). A source at its limit does not hold the others " "back, so a Soulseek download waiting in a peer's queue cannot stop a torrent " - "from starting. 0 uses the single limit above for all sources together." + "from starting. Above 0 this replaces Max Concurrent Downloads: the total can " + "be this number for every source that has downloads at once. " + "0 uses the single limit above for all sources together." ), default=0, min_value=0,