Skip to content

Commit c37bd88

Browse files
committed
fix: increase reconnection grace period from 5 to 15 minutes for better recovery
1 parent 518fc2c commit c37bd88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ type Server struct {
343343
}
344344

345345
const (
346-
// Grace period for reconnection (5 minutes)
347-
ReconnectGracePeriod = 5 * time.Minute
346+
// Grace period for reconnection (increased from 5 to 15 minutes for better recovery)
347+
ReconnectGracePeriod = 15 * time.Minute
348348
// How often to clean up expired sessions
349349
SessionCleanupInterval = 1 * time.Minute
350350
// Security limits

0 commit comments

Comments
 (0)