The current implementation unconditionally sends empty an AppendEntries request every time the heartbeat interval (request_timeout) expires.
However sending empty/heartbeat AppendEntries is only required if no "actual" non-AppendEntries request was sent recently (where here "recently" essentially means within request_timeout milliseconds).
The current implementation unconditionally sends empty an AppendEntries request every time the heartbeat interval (request_timeout) expires.
However sending empty/heartbeat AppendEntries is only required if no "actual" non-AppendEntries request was sent recently (where here "recently" essentially means within request_timeout milliseconds).