mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 12:43:32 +09:00
The tail counted as live, cleared its error and reset its backoff only when a line arrived. A quiet application therefore showed "Connecting" forever, a 429 warning stuck after the retry succeeded, and every idle close by the proxy (its tail idle timeout) raised the backoff towards 30s and reconnected without since, losing lines written in the gap. The tail now reports when the response opens. That marks it live, clears the error and resets the backoff; a clean close reconnects at the base delay; and with no line seen yet the reconnect resumes from the time the stream opened. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>