Repository navigation
ThinkWatch Core 0.98.1
Large requests now wait their turn for the shared request-body budget instead of
immediately returning 429 while later small requests continue to enter. This
addresses the reproducible budget-starvation mechanism investigated in #403;
the reporter's original incident still lacks the response body and runtime
budget data needed to confirm its cause.
Known-size uncompressed uploads reserve space before reading and remain
concurrent. Chunked and compressed requests grow under a single admission turn
to avoid partial-body deadlocks. Decompression can retry once with exclusive
space, releasing its CPU slot while waiting, and returns unused reservations
when the compressed input is discarded.
Admission and budget waits are bounded at 30 seconds. Exhaustion still returns a
retryable 429 and now logs the budget occupancy. Uploads idle for 30 seconds are
rejected and release their budget. The existing memory policy and 256 MiB
per-request limit are unchanged.
Downloads
| Platform | Binary | Archive for server installation |
|---|---|---|
| Linux, x86_64 | twcore-x86_64-unknown-linux-gnu |
twcore-x86_64-unknown-linux-gnu.tar.gz |
| Linux, aarch64 | twcore-aarch64-unknown-linux-gnu |
twcore-aarch64-unknown-linux-gnu.tar.gz |
| macOS, Apple silicon | twcore-aarch64-apple-darwin |
— |
| Windows, x64 | twcore-x86_64-pc-windows-msvc.exe |
— |
| Windows, ARM64 | twcore-aarch64-pc-windows-msvc.exe |
— |
Each file is published with a .sha256 file beside it. A Linux archive contains twcore, the systemd unit twcore.service and LICENSE. ThinkWatch Lite includes its own copy of twcore; the files here are for running core separately, such as on a server.
Server installation
On Linux (x86_64 or aarch64), the install script sets up twcore as a systemd service. This installs 0.98.1:
curl -fsSL https://raw.githubusercontent.com/ThinkWatchProject/ThinkWatch-Core/main/scripts/install.sh | sudo sh -s -- --version 0.98.1An installation made with the script switches to 0.98.1 with:
sudo twcore upgrade --version 0.98.1 --restartConfiguration, the remote control port and connecting ThinkWatch Lite are described in docs/server.md.
Verifying a download
A .sha256 file holds the SHA-256 of the file followed by its name. With both files in the current directory, on Linux:
sha256sum -c twcore-x86_64-unknown-linux-gnu.tar.gz.sha256On macOS:
shasum -a 256 -c twcore-aarch64-apple-darwin.sha256On Windows, in PowerShell, the following prints True when the binary matches:
(Get-FileHash .\twcore-x86_64-pc-windows-msvc.exe).Hash -eq (Get-Content .\twcore-x86_64-pc-windows-msvc.exe.sha256).Split()[0]The install script and twcore upgrade check the SHA-256 themselves.
What's Changed
Full Changelog: v0.98.0...v0.98.1