Compare commits

...

2 Commits

Author SHA1 Message Date
s1d3sw1ped_bot 85e14bc8af README: Replace --threads with real cobra concurrency flags
Release Tag / release (push) Successful in 17s
Docs sync: align README with current install/CLI behavior.

Co-authored-by: s1d3sw1ped_bot <s1d3sw1ped+giteabot@gmail.com>
Co-committed-by: s1d3sw1ped_bot <s1d3sw1ped+giteabot@gmail.com>
2026-09-02 10:43:52 -05:00
s1d3sw1ped_bot 3f5175b482 .gitea/workflows: Prefer job GITEA_TOKEN
CI / vulncheck (push) Successful in 15s
CI / check-and-test (push) Successful in 41s
Release Tag still used secrets.RELEASE_TOKEN. Prefer the job built-in token with contents: write, same path as vulture/teleport.

Link: #26
Co-authored-by: s1d3sw1ped_bot <s1d3sw1ped+giteabot@gmail.com>
Co-committed-by: s1d3sw1ped_bot <s1d3sw1ped+giteabot@gmail.com>
2026-09-02 10:08:00 -05:00
2 changed files with 10 additions and 5 deletions
+5 -1
View File
@@ -7,6 +7,8 @@ on:
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- uses: actions/checkout@main - uses: actions/checkout@main
with: with:
@@ -21,4 +23,6 @@ jobs:
version: 'latest' version: 'latest'
args: release args: release
env: env:
GITEA_TOKEN: ${{secrets.RELEASE_TOKEN}} GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
GORELEASER_FORCE_TOKEN: gitea
+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 # Set logging level
./steamcache2 --log-level debug --log-format json ./steamcache2 --log-level debug --log-format json
# Set number of worker threads # Override concurrency from the CLI (0 = use config.yaml)
./steamcache2 --threads 8 ./steamcache2 --max-concurrent-requests 8
./steamcache2 --max-requests-per-client 4
# Show help # Show help
./steamcache2 --help ./steamcache2 --help
@@ -311,7 +312,7 @@ This will direct any requests to `lancache.steamcontent.com` to your SteamCache2
### Prerequisites ### Prerequisites
- Go 1.19 or later - Go 1.27.0 or later
- Make (optional, but recommended) - Make (optional, but recommended)
### Build Commands ### Build Commands
@@ -319,7 +320,7 @@ This will direct any requests to `lancache.steamcontent.com` to your SteamCache2
```bash ```bash
# Clone the repository # Clone the repository
git clone <repository-url> git clone <repository-url>
cd SteamCache2 cd steamcache2
# Download dependencies # Download dependencies
make deps make deps