stability fixes

This commit is contained in:
KingKDot
2026-05-04 09:58:59 -05:00
parent 8a7217cda2
commit c71af228b4
7 changed files with 174 additions and 76 deletions
@@ -69,8 +69,8 @@ func TestReconnectDelay_Custom(t *testing.T) {
func TestReconnectDelay_Invalid(t *testing.T) {
withEnv("OVERLORD_RECONNECT_DELAY_MS", "bad", func() {
delay := reconnectDelay()
if delay < 10*time.Second || delay > 30*time.Second {
t.Fatalf("expected 10-30s, got %s", delay)
if delay < 1*time.Second || delay > 3*time.Second {
t.Fatalf("expected 1-3s, got %s", delay)
}
})
}