aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-24 17:24:26 -0500
committerJP Dillingham <jp@dillingham.me>2026-04-24 17:24:26 -0500
commit8fa61f8714af038ba7c5dc7b61449ac8c5aaab24 (patch)
tree2d2cec93d01fc9161488fe826fd0c1c760b35eb4
parent3c1ef0528460f335631ef2719ffd0a8c0a2dcfec (diff)
downloadslskd-8fa61f8714af038ba7c5dc7b61449ac8c5aaab24.tar.gz
docs for retries
-rw-r--r--docs/config.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index b4e8fa47..957bcb88 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,24 @@ 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.