mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
The guard measures a proxy stream on completed writes to the receiver. The OS buffers a couple of MiB per connection and only takes more once a large part has been sent, so a slow receiver can go a long time with no write completing. At the old default of 30 KiB per 30 s, downloads well above that could be closed, and the slow receiver test failed every run on Linux. controller.transfer_min_progress (KiB per 30 s) is replaced by controller.transfer_min_speed (KiB/s), defaulting to 64. At that speed the measured 1.6 MB bursts come within the 30 second check. Configs on the old default move to the new one, other values are converted. The slow receiver test checks every 3 s instead of 500 ms, as with a 500 ms check it fails at any minimum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Common Library for Clusterio
This package contains functionality shared between controller, host, ctl and/or plugins of Clusterio.
See the Clusterio repository for more information on Clusterio.