mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-25 04:52:41 +00:00
docs(settings): say that the per-source limit replaces Max Concurrent Downloads (#1542)
With Max Concurrent Downloads Per Source above 0 the download pool is sized per source and a task is admitted when its own source is below the limit. Max Concurrent Downloads isn't read at all in that mode, so 3 per source across 3 busy sources runs 9 at once. Neither description said so. The per-source text now says it replaces the global limit and what the total can be, and the global one says it isn't used while the per-source limit is set. Text only, no behaviour change. I changed the two rows in `docs/environment-variables.md` by hand. Running `scripts/generate_env_docs.py` on main today also drops the `SHELFMARK_API_KEY_READONLY` entries and changes the slskd anchor, so the file looks hand-edited since it was last generated, and I didn't want to fold that into this. The two rows match what the generator produces for them. Found in a Claude pass over 1.5.0.
This commit is contained in:
1 parent
e27fed1d40
commit
2d9491e063
2 files changed
+11
-6
No files matched your search
@@ -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` |
|
||||
|
||||
<details>
|
||||
@@ -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`
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user