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

clientv3: fix keepalive send interval when response queue is full #9952

Merged
merged 2 commits into from Jul 23, 2018

Commits on Jul 23, 2018

  1. clientv3: fix keepalive send interval when response queue is full

    client should update next keepalive send time
    even when lease keepalive response queue becomes full.
    
    Otherwise, client sends keepalive request every 500ms
    regardless of TTL when the send is only expected to happen
    with the interval of TTL / 3 at minimum.
    
    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Jul 23, 2018
    Copy the full SHA
    f338541 View commit details
    Browse the repository at this point in the history
  2. clientv3: clean up variables, add response dropping warning

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Jul 23, 2018
    Copy the full SHA
    e93fb56 View commit details
    Browse the repository at this point in the history