Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Late alarms and max_ack_delay #1960

Merged
merged 3 commits into from
Nov 3, 2018
Merged

Conversation

ianswett
Copy link
Contributor

@ianswett ianswett commented Nov 3, 2018

Add some text on how to correctly specify max_ack_delay on systems where the alarm may fire late.

sending acknowledgments. This value should include the receiver's expected
delays in alarms firing. For example, if a receiver specifies a 5ms
max_ack_delay and alarms commonly fire up to 1ms late, then it should set
a timer for 4ms. If this value is absent, a default of 25 milliseconds is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would do this the other way around. If a receiver sets ack delay timers at 5ms and alarms could fire up to 1ms late, then it should advertise a max_ack_delay of 6ms.

@martinthomson martinthomson added editorial An issue that does not affect the design of the protocol; does not require consensus. -transport labels Nov 3, 2018
@martinthomson martinthomson merged commit eebf335 into master Nov 3, 2018
@martinthomson martinthomson deleted the ianswett-late-max-ack-delay branch November 3, 2018 16:07
@ianswett
Copy link
Contributor Author

ianswett commented Nov 3, 2018

Martin, thanks of fixing this up and landing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-transport editorial An issue that does not affect the design of the protocol; does not require consensus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants