aboutsummaryrefslogtreecommitdiffstats
path: root/docs/config.md
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-01-18 17:17:42 -0600
committerJP Dillingham <jp@dillingham.me>2026-01-18 17:17:42 -0600
commitfa39c123a67351e6d55d9fa04fd662a6b27f0481 (patch)
treec559d2b4ab9439600317583a7e7ae48d49971db6 /docs/config.md
parentce693af3352a0aa977b489b1423cc845e9b40894 (diff)
downloadslskd-fa39c123a67351e6d55d9fa04fd662a6b27f0481.tar.gz
add command line args
Diffstat (limited to 'docs/config.md')
-rw-r--r--docs/config.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/config.md b/docs/config.md
index 02f8abdb..f75a1335 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -471,7 +471,7 @@ Users added to the blacklist will be blocked from enqueueing any new files. Any
A managed blacklist file may also be used to achieve the same effects. Read more about this in the [Managed Blacklist](#managed-blacklist) section below.
-**YAML**
+#### **YAML**
```yaml
groups:
blacklisted:
@@ -640,7 +640,7 @@ Child connections should generally only be disabled on low spec systems or situa
Depending on the current state, changing these values may require the server connection to be reset.
| Command-Line | Environment Variable | Description |
-| ------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| ------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--slsk-no-dnet` | `SLSKD_SLSK_NO_DNET` | Determines whether the distributed network is disabled. If disabled, the client will not obtain a parent or any child connections, and will not receive distributed search requests. |
| `--slsk-dnet-no-children` | `SLSKD_SLSK_DNET_NO_CHILDREN` | Determines whether to disallow distributed children |
| `--slsk-dnet-children` | `SLSKD_SLSK_DNET_CHILDREN` | The maximum number of distributed children to accept |
@@ -992,13 +992,20 @@ Lower values of `concurrency` or slow processing of individual messages may caus
The latency, queue depth and rate at which messages are being dropped can be monitored by reviewing the application state or Prometheus metrics.
+| Command Line | Environment Variable | Description |
+| -------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
+| `--throttling-search-incoming-concurrency` | `SLSKD_THROTTING_SEARCH_INCOMING_CONCURRENCY` | The limit for the number of concurrent search response operations |
+| `--throttling-search-incoming-circuit-breaker` | `SLSKD_THROTTING_SEARCH_INCOMING_CIRCUIT_BREAKER` | The limit for the number of queued search response operations, after which requests will be discarded |
+| `--throttling-search-incoming-response-file-limit` | `SLSKD_THROTTING_SEARCH_INCOMING_RESPONSE_FILE_LIMIT` | The limit for the number of files that can be returned in a single search request |
+
#### **YAML**
```yaml
throttling:
search:
- response:
+ incoming:
concurrency: 10 # number of search requests to process at the same time
circuit_breaker: 500 # maximum number of pending search requests
+ file_limit: 500 # maximum number of files to return in a single search response
```
# Integrations