HeartbeatConfig
data class HeartbeatConfig(val interval: Duration = 5.seconds, val timeout: Duration = 15.seconds, val reconnectWindow: Duration = 60.seconds, val resumeTimeout: Duration = timeout)
Configuration for HeartbeatPartitionDetector.
Defaults: 5 s ping interval, 15 s timeout, 60 s reconnect window, 15 s resume timeout. Override via RoomConfig when the application needs different timing — for example, a longer reconnectWindow for a long idle period.
Properties
Link copied to clipboard
How long after first becoming unresponsive before the peer is considered lost.
Link copied to clipboard
Per-call deadline for a single Room.resume(token) awaiting the host's ResumeAck/Reject. When it elapses with no verdict the call returns ResumeResult.TimedOut instead of parking indefinitely.