From 6216b3f1035b540d770562d5b2dfa1fb79eefa25 Mon Sep 17 00:00:00 2001 From: s1d3sw1ped_bot Date: Wed, 2 Sep 2026 15:41:21 +0000 Subject: [PATCH] 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. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 62e722a..5a88e2a 100644 --- a/README.md +++ b/README.md @@ -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 -cd SteamCache2 +cd steamcache2 # Download dependencies make deps