-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mrp] Align MRP backoff time calculation with spec (#21356)
* [mrp] Align ReliableMessageMgr::GetBackoff() naming with spec Make variables and comments in the function more aligned with the current spec version so that it is easier to compare the code with the spec. Signed-off-by: Damian Krolik <[email protected]> * [mrp] Implement MRP_BACKOFF_MARGIN Base interval (active or idle) should be multiplied by MRP_BACKOFF_MARGIN = 1.1 before putting it in the MRP backoff formula. Signed-off-by: Damian Krolik <[email protected]> * [mrp] Increase MRP backoff time for SED sender When sender is sleepy, it may take more time until it receives an acknowledgment from a peer, so MRP backoff time should be extended by the sleepy active interval. Signed-off-by: Damian Krolik <[email protected]>
- Loading branch information
1 parent
1eaef0f
commit b8399c2
Showing
4 changed files
with
117 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters