README: Replace --threads with real cobra concurrency flags
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user