Expand description
Reliability layer constants.
Constantsยง
- DEFAULT_
ACK_ TIMEOUT_ MS - Default ACK timeout in milliseconds.
- DEFAULT_
BACKOFF_ MULTIPLIER - Backoff multiplier for exponential backoff.
- DEFAULT_
INITIAL_ DELAY_ MS - Initial retry delay in milliseconds.
- DEFAULT_
MAX_ DELAY_ MS - Maximum retry delay in milliseconds.
- DEFAULT_
MAX_ PENDING_ ACKS - Maximum number of pending ACKs to track.
- DEFAULT_
MAX_ RETRIES - Default maximum number of retries per message.
- DEFAULT_
OUTBOX_ LIFETIME_ MS - Maximum lifetime for messages in outbox (milliseconds).
- DEFAULT_
PENDING_ MESSAGE_ LIFETIME_ MS - Maximum lifetime for messages waiting on MLS session establishment.
- ESTIMATED_
ACK_ SIZE_ BYTES - Estimated size of an ACK entry in bytes (message ID + metadata).
- RELAY_
DENSITY_ FACTOR_ NUMERATOR - Density factor numerator for relay probability calculation.
- SMALL_
NETWORK_ RELAY_ THRESHOLD - Network size threshold below which all ACKs are relayed.