[][src]Module async_raft::config

Raft runtime configuration.

Structs

Config

The runtime configuration for a Raft node.

ConfigBuilder

A configuration builder to ensure that runtime config is valid.

Enums

SnapshotPolicy

Log compaction and snapshot policy.

Constants

DEFAULT_ELECTION_TIMEOUT_MAX

Default election timeout maximum, in milliseconds.

DEFAULT_ELECTION_TIMEOUT_MIN

Default election timeout minimum, in milliseconds.

DEFAULT_HEARTBEAT_INTERVAL

Default heartbeat interval.

DEFAULT_LOGS_SINCE_LAST

Default threshold for when to trigger a snapshot.

DEFAULT_MAX_PAYLOAD_ENTRIES

Default maximum number of entries per replication payload.

DEFAULT_REPLICATION_LAG_THRESHOLD

Default replication lag threshold.

DEFAULT_SNAPSHOT_CHUNKSIZE

Default snapshot chunksize.