QuilterConfig
Configuration for Quilter.
Parameters
how long a peer can be absent from Seam.peers before it is evicted from knownPeers. Absent-and-silent peers pin the pending-delta buffer; eviction releases that pin. A peer that reappears after eviction will receive a fresh QuiltMessage.FullState.
how often the background eviction check runs.
how long to wait before re-emitting a QuiltMessage.Resend when the first Resend is itself dropped and no further inbound traffic triggers re-detection. The timer is cancelled when the gap closes. In a low-traffic system this is the only mechanism that heals a gap whose first Resend was lost.
how long to wait before re-sending a QuiltMessage.FullState to a peer when the initial snapshot may have been dropped. The timer is cancelled when any message from that peer is received, confirming it is alive and reachable.
maximum number of FullState retry attempts per peer before giving up. A value of 10 means up to 10 retries (11 total send attempts) before the timer is abandoned.
When true, throw IllegalStateException at construction time if the owning kotlinx.coroutines.CoroutineScope contains a kotlinx.coroutines.test.TestDispatcher. When false (the default), emit a warning to stdout instead. Set to true in tests that want to assert the guard fires. Leave false in production — the guard is informational there.
Properties
Suppresses the TestDispatcher warning for tests that intentionally run a real Quilter under UnconfinedTestDispatcher. Has no effect in production. Default false: warn as usual. See strictTestGuard.