Skip to content

Commit

Permalink
chore: fix emulator keepalives (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbernstein2 committed Dec 1, 2021
1 parent 777549e commit dd24ca0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -128,7 +128,7 @@ public ManagedChannelBuilder apply(ManagedChannelBuilder input) {
return input.usePlaintext();
}
})
.setKeepAliveTime(Duration.ofSeconds(30)) // sends ping in this interval
.setKeepAliveTime(Duration.ofSeconds(61)) // sends ping in this interval
.setKeepAliveTimeout(
Duration.ofSeconds(10)) // wait this long before considering the connection dead
.build());
Expand Down

0 comments on commit dd24ca0

Please sign in to comment.