- rescan tickers for all mounts started in lockstep, so every 60s they rebuilt manifests simultaneously (self-synchronized load spike on big trees). Stagger the first tick by a random offset. - jittered() called rand.Int63n(int64(d/2)) which panics for sub-2ns durations (d/2==0). Guard it. (Latent: a panic in a recover-less goroutine.) - healthyStream was 2min — 4x larger than typical SSE recycle (~30-60s), so a recycled-but-healthy stream never reset backoff and sat at the 30s ceiling. Lowered to 20s. Regression test for the jitter panic. |
||
|---|---|---|
| .. | ||
| backoff.go | ||
| backoff_test.go | ||
| daemon.go | ||
| daemon_test.go | ||