diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-04-23 18:29:09 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-04-23 18:29:09 -0500 |
| commit | 2f20ac833dca19e87e7980ac83f94206685409d9 (patch) | |
| tree | 1ebad506bc42f3bc20e6825bf9f03715031c06ba /docs/config.md | |
| parent | 3d9bc65bf535a3c4dab440e91587495afba648e6 (diff) | |
| parent | 7961741f740abd240754ff6e39cda6d69f727268 (diff) | |
| download | slskd-2f20ac833dca19e87e7980ac83f94206685409d9.tar.gz | |
Merge remote-tracking branch 'origin/master' into blacklist-regex
Diffstat (limited to 'docs/config.md')
| -rw-r--r-- | docs/config.md | 134 |
1 files changed, 68 insertions, 66 deletions
diff --git a/docs/config.md b/docs/config.md index 1b77a674..b4e8fa47 100644 --- a/docs/config.md +++ b/docs/config.md @@ -349,7 +349,7 @@ A change to slot limits requires an application restart to take effect, while sp #### **YAML** ```yaml -global: +transfers: upload: slots: 20 speed_limit: 1000 # kibibytes @@ -372,19 +372,20 @@ Note that while it's possible to set the `failures` option for `queued`, it has #### **YAML** ```yaml -global: - limits: - queued: - files: 500 - megabytes: 5000 - daily: - files: 1000 - megabytes: 10000 - failures: 200 - weekly: - files: 5000 - megabytes: 50000 - failures: 1000 +transfers: + upload: + limits: + queued: + files: 500 + megabytes: 5000 + daily: + files: 1000 + megabytes: 10000 + failures: 200 + weekly: + files: 5000 + megabytes: 50000 + failures: 1000 ``` ## Groups @@ -408,18 +409,18 @@ upload: strategy: roundrobin # roundrobin or firstinfirstout slots: 10 # 1 to 2147483647 speed_limit: 100 # in KiB/s, 1 to 2147483647 -limits: - queued: - files: 500 # 1 to 2147483647 - megabytes: 5000 # 1 to 2147483647 - daily: - files: 1000 - megabytes: 10000 - failures: 200 # 1 to 2147483647 - weekly: - files: 5000 - megabytes: 50000 - failures: 1000 + limits: + queued: + files: 500 # 1 to 2147483647 + megabytes: 5000 # 1 to 2147483647 + daily: + files: 1000 + megabytes: 10000 + failures: 200 # 1 to 2147483647 + weekly: + files: 5000 + megabytes: 50000 + failures: 1000 ``` ## Built-In Groups @@ -434,45 +435,46 @@ It is impossible to explicitly assign users to these built-in groups, but the pr #### **YAML** ```yaml -groups: - default: - upload: - priority: 1 - strategy: roundrobin - slots: 10 - speed_limit: 50000 # kibibytes - limits: - queued: - files: 150 - megabytes: 1500 - daily: - files: 2147483647 # effectively unlimited, weekly still applies - megabytes: 2147483647 - weekly: - files: 1500 - megabytes: 15000 - failures: 150 - leechers: - thresholds: - files: 1 - directories: 1 - upload: - priority: 99 - strategy: roundrobin - slots: 1 - speed_limit: 100 - limits: - queued: - files: 15 - megabytes: 150 - daily: - files: 30 - megabytes: 300 - failures: 10 - weekly: - files: 150 - megabytes: 1500 - failures: 30 +transfers: + groups: + default: + upload: + priority: 1 + strategy: roundrobin + slots: 10 + speed_limit: 50000 # kibibytes + limits: + queued: + files: 150 + megabytes: 1500 + daily: + files: 2147483647 # effectively unlimited, weekly still applies + megabytes: 2147483647 + weekly: + files: 1500 + megabytes: 15000 + failures: 150 + leechers: + thresholds: + files: 1 + directories: 1 + upload: + priority: 99 + strategy: roundrobin + slots: 1 + speed_limit: 100 + limits: + queued: + files: 15 + megabytes: 150 + daily: + files: 30 + megabytes: 300 + failures: 10 + weekly: + files: 150 + megabytes: 1500 + failures: 30 ``` ## User Blacklist @@ -1097,7 +1099,7 @@ If unconfigured, the default timeout for requests is 5 seconds, and each request #### **YAML** ```yaml -integration: +integrations: webhooks: my_basic_webhook_using_defaults: on: |
