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

[1.0 Cherrypick] [BUG] Fix ReadClient to use the right parameters when computing the l… #22760

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

andy31415
Copy link
Contributor

…iveness timeout (#22699)

  • Fix ReadClient to use the right parameters when computing the liveness timeout

This fixes the logic in ReadClient to use the local IDLE interval when computing the liveness timeout instead of the IDLE interval of our peer.

Testing:

Using the REPL and the liveness timer print, confirmed the fixes are indeed applied.

Restyled by whitespace

Restyled by clang-format

Build fixes

  • Review feedback

Issue Being Resolved

Change overview

What's in this PR

…iveness timeout (project-chip#22699)

* Fix ReadClient to use the right parameters when computing the liveness
timeout

This fixes the logic in ReadClient to use the local IDLE interval when
computing the liveness timeout instead of the IDLE interval of our peer.

Testing:

Using the REPL and the liveness timer print, confirmed the fixes are
indeed applied.

Restyled by whitespace

Restyled by clang-format

Build fixes

* Review feedback
@github-actions github-actions bot added the app label Sep 20, 2022
@andy31415 andy31415 merged commit fea8954 into project-chip:v1.0 Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants