aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-01-30 10:24:09 -0600
committerJP Dillingham <jpdillingham@gmail.com>2022-01-30 10:24:09 -0600
commitf29170569b8b563f75574f181af7b1f07f1c5e69 (patch)
treec6c409d113c7f97532669c1693e44280eaf656e8 /docs
parent299dbc204c182ca57ad5f08743db1ec8219b5b74 (diff)
downloadslskd-f29170569b8b563f75574f181af7b1f07f1c5e69.tar.gz
docs for global configuration
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index 47b4bf68..efc974a1 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -144,6 +144,32 @@ directories:
- ~
```
+# Limits and User Groups
+
+## Global
+
+Global limits behave as a hard limit, additive across all groups. These values should be set as high as practical for the environment in which the application is running; more granular controls should be defined at the group level.
+
+A change to slot limits require an application restart to take effect, while speed limits can be adjusted at runtime.
+
+|Command Line|Environment Variable|Description|
+|----|-----|-----------|
+|`--upload-slots`|`UPLOAD_SLOTS`|The limit for the total number of upload slots|
+|`--upload-speed-limit`|`UPLOAD_SPEED_LIMIT`|The total upload speed limit|
+|`--download-slots`|`DOWNLOAD_SLOTS`|The limit for the total number of download slots|
+|`--download-speed-limit`|`DOWNLOAD_SPEED_LIMIT`|The total download speed limit|
+
+#### **YAML**
+```yaml
+global:
+ upload:
+ slots: 20
+ speed_limit: 1000
+ download:
+ slots: 500
+ speed_limit: 1000
+```
+
# Soulseek Configuration
The Soulseek configuration determines how slskd will interact with the Soulseek network and underlying [Soulseek.NET](https://github.com/jpdillingham/Soulseek.NET) library.