aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-11-23 18:38:02 -0600
committerJP Dillingham <jp@dillingham.me>2025-11-23 18:38:02 -0600
commit3e69af61e6ab42d79b9ff86adf7729e8abc70eed (patch)
tree41c799babd5509638bee59afe9bd995fc6e8c6c5 /docs
parent119a3925da7fdf5f659bfa4c8e61e39a7148ba3e (diff)
parent318d1c16f80f6d48a408fb95b77c5a42402bf7df (diff)
downloadslskd-3e69af61e6ab42d79b9ff86adf7729e8abc70eed.tar.gz
Merge remote-tracking branch 'origin/master' into statistics
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index 053deea3..2646dd94 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -705,10 +705,14 @@ Higher connect timeout values will help ensure that operations (browse, download
Inactivity timeouts help the application determine when a distributed parent connection has stopped sending data and when connections that have delivered search results (and are unlikely to be used further) from remaining open longer than needed. Reducing this timeout can help low spec systems if port exhaustion is a concern but may result in the application "hunting" for a distributed parent connection needlessly.
+Transfer connections use their own timeout value; other Soulseek clients regulate transfer speed by controlling how often data is sent (e.g. send full speed for 5 seconds, send nothing for 25 seconds),
+and as such transfers can easily time out due to inactivity if using a lower value. This setting must be at least 30 seconds.
+
| Command-Line | Environment Variable | Description |
| --------------------------- | ------------------------------- | ------------------------------------------------ |
| `--slsk-connection-timeout` | `SLSKD_SLSK_CONNECTION_TIMEOUT` | The connection timeout value, in milliseconds |
| `--slsk-inactivity-timeout` | `SLSKD_SLSK_INACTIVITY_TIMEOUT` | The connection inactivity value, in milliseconds |
+| `--slsk-transfer-timeout` | `SLSKD_SLSK_TRANSFER_TIMEOUT` | The transfer connection timeout value, in milliseconds |
#### **YAML**
```yaml
@@ -716,7 +720,8 @@ soulseek:
connection:
timeout:
connect: 10000
- inactivity: 15000
+ inactivity: 15000
+ transfer: 30000
```
### Buffers
@@ -793,6 +798,8 @@ soulseek:
The default HTTP listen port is 5030, but can be anything between 1 and 65535.
+A [unix domain socket](https://en.wikipedia.org/wiki/Unix_domain_socket) can be used on both unix-like operating systems and Windows. The specified socket file path must be absolute, and must point to a file that does not exist (slskd will manage it automatically).
+
The URL base option allows the application to operate behind a reverse proxy. Setting a base of "slskd" would make the web UI accessible at `http://<host>:<port>/slskd`.
The content path can be used to force the application to serve static web content from a location other than the default (`wwwroot`). The application is designed to decouple the Web UI from the rest of the application to be replaceable.
@@ -802,6 +809,7 @@ Logging of HTTP requests is disabled by default.
| Command-Line | Environment Variable | Description |
| ----------------- | -------------------------- | ------------------------------------------------- |
| `-l\|--http-port` | `SLSKD_HTTP_PORT` | The HTTP listen port |
+| `--http-socket` | `SLSKD_HTTP_SOCKET` | The HTTP listen unix domain socket (UDS) path |
| `--url-base` | `SLSKD_URL_BASE` | The base url for web requests |
| `--content-path` | `SLSKD_CONTENT_PATH` | The path to static web content |
| `--http-logging` | `SLSKD_HTTP_LOGGING` | Determines whether HTTP requests are to be logged |
@@ -810,6 +818,7 @@ Logging of HTTP requests is disabled by default.
```yaml
web:
port: 5030
+ socket: ~
url_base: /
content_path: wwwroot
logging: false
@@ -1257,6 +1266,7 @@ Several additional feature flags are provided to change the application's runtim
| `--force-migrations` | `SLSKD_FORCE_MIGRATIONS` | Force database migrations to be applied on startup |
| `--no-version-check` | `SLSKD_NO_VERSION_CHECK` | Don't perform a version check on startup |
| `--log-sql` | `SLSKD_LOG_SQL` | Log SQL queries generated by Entity Framework |
+| `--log-unobserved-exceptions` | `SLSKD_LOG_UNOBSERVED_EXCEPTIONS` | Log unobserved Exceptions (caution: verbose) |
| `--volatile` | `SLSKD_VOLATILE` | Use volatile data storage (all data will be lost at shutdown) |
| `--case-sensitive-regex` | `SLSKD_CASE_SENSITIVE_REGEX` | User-defined regular expressions are case sensitive |
| `--legacy-windows-tcp-keepalive` | `SLSKD_LEGACY_WINDOWS_TCP_KEEPALIVE` | Use a legacy TCP keepalive strategy for older Windows versions |