Structs§
- Distributed
Time Constants - The distributed time constants.
Constants§
- BASE_
HEARTBEAT_ INTERVAL - HEARTBEAT_
CHANNEL_ KEEP_ ALIVE_ INTERVAL_ SECS - The keep-alive interval of the heartbeat channel.
- HEARTBEAT_
CHANNEL_ KEEP_ ALIVE_ TIMEOUT_ SECS - The keep-alive timeout of the heartbeat channel.
- HEARTBEAT_
TIMEOUT - The timeout of the heartbeat request.
- MAILBOX_
RTT_ SECS - The default mailbox round-trip timeout.
- META_
KEEP_ ALIVE_ INTERVAL_ SECS - In a lease, there are two opportunities for renewal.
- META_
LEASE_ SECS - The lease seconds of metasrv leader.
- POSTGRES_
KEEP_ ALIVE_ SECS - The keep-alive interval of the Postgres connection.
- TOPIC_
STATS_ REPORT_ INTERVAL_ SECS - The interval of reporting topic stats.
- TOPIC_
STATS_ RETENTION_ SECS - The retention seconds of topic stats.
Statics§
Functions§
- default_
distributed_ time_ constants - Get the default distributed time constants.
- frontend_
heartbeat_ interval - The frontend heartbeat interval is 6 times of the base heartbeat interval.
- init_
distributed_ time_ constants - Initialize the default distributed time constants.