aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-24 18:51:44 -0500
committerGitHub <noreply@github.com>2026-04-24 18:51:44 -0500
commit14f94a4825d6da485f08b9c9e967c61181e41c81 (patch)
tree9f413cb07787c018e679bd5c3a6d69b90d5be24b /docs
parentfc722e4a78aa5369fcd5ca0d8e88bd98d874a1d8 (diff)
parent46966b6e284a9ef8bb3d182928bf9211118681e8 (diff)
downloadslskd-14f94a4825d6da485f08b9c9e967c61181e41c81.tar.gz
Merge pull request #1664 from slskd/retries
Add transfer retries and batches
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index b4e8fa47..14f1ae24 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -332,7 +332,7 @@ relay:
downloads: false
```
-# Limits and User Groups
+# Transfer Behavior, Limits, and User Groups
## Global Slot and Speed Limits
@@ -358,6 +358,23 @@ transfers:
speed_limit: 1000
```
+## Retry Behavior
+
+Failed downloads can be retried automatically up to the configured number of attempts. If an attempt fails initially, the application delays the second attempt by the configured delay, and an exponential backoff is used to compute the delay for all subsequent events, up to the configured maximum delay.
+
+By default, partial downloads are resumed based on the size of the incomplete file. Users can choose to always overwrite files if they wish.
+
+**YAML**
+```yaml
+transfers:
+ download:
+ retry:
+ incomplete: resume # 'overwrite' or 'resume'
+ attempts: 3
+ delay: 5000 # initial time between retries, in milliseconds
+ max_delay: 60000 # maximum time between retries, in milliseconds
+```
+
## Global Upload Limits
Global upload limits define the number of queued, daily, and weekly uploads on a _per user_ basis. These limits behave as defaults and are applied if limits for a user's group have not been set.