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

Set default keepalive options for peer clients #987

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

mastersingh24
Copy link
Contributor

Type of change

  • Bug fix

Description

The latest version of grpc now sets the default
client keepalive time to 10 seconds. Prior to this,
if the timeout was set to 0, grpc actually used an
infinite timeout by default which effectively meant
no keepalives were ever sent. Since it now sets the
default to 10 seconds and the server permitted timeout is
actual set to 20 seconds, we now see disconnects for
requests taking > 20 secs as the client is now violating
the policy.

Related issues

FAB-17706
#930

Signed-off-by: Gari Singh gari.r.singh@gmail.com

The latest version of grpc now sets the default
client keepalive time to 10 seconds.  Prior to this,
if the timeout was set to 0, grpc actually used an
infinite timeout by default which effectively meant
no keepalives were ever sent.  Since it now sets the
default to 10 seconds and the server permitted timeout is
actual set to 20 seconds, we now see disconnects for
requests taking > 20 secs as the client is now violating
the policy.

Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
@mastersingh24 mastersingh24 requested a review from a team as a code owner April 3, 2020 08:58
@yacovm yacovm merged commit a28ef41 into hyperledger:release-2.1 Apr 3, 2020
@mastersingh24 mastersingh24 deleted the 17706-2.1 branch April 3, 2020 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants