README: Replace --threads with real cobra concurrency flags
CI / vulncheck (pull_request) Successful in 21s
CI / check-and-test (pull_request) Successful in 44s

CLI docs still showed --threads; root flags are --max-concurrent-requests
and --max-requests-per-client. Also fix go.mod version and clone directory.
This commit is contained in:
s1d3sw1ped_bot
2026-09-02 15:41:21 +00:00
parent 3f5175b482
commit 6216b3f103
+5 -4
View File
@@ -160,8 +160,9 @@ While most configuration is done via the YAML file, some runtime options are sti
# Set logging level
./steamcache2 --log-level debug --log-format json
# Set number of worker threads
./steamcache2 --threads 8
# Override concurrency from the CLI (0 = use config.yaml)
./steamcache2 --max-concurrent-requests 8
./steamcache2 --max-requests-per-client 4
# Show help
./steamcache2 --help
@@ -311,7 +312,7 @@ This will direct any requests to `lancache.steamcontent.com` to your SteamCache2
### Prerequisites
- Go 1.19 or later
- Go 1.27.0 or later
- Make (optional, but recommended)
### Build Commands
@@ -319,7 +320,7 @@ This will direct any requests to `lancache.steamcontent.com` to your SteamCache2
```bash
# Clone the repository
git clone <repository-url>
cd SteamCache2
cd steamcache2
# Download dependencies
make deps