You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This changes:
* default keepAliveTime on server to 2 hours (to align with gRPC default)
* default keepAliveTime on client to 5 minutes to align with default permitKeepAliveTime on server (cannot be lower)
Copy file name to clipboardExpand all lines: grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java
Copy file name to clipboardExpand all lines: grpc-server-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/server/config/GrpcServerProperties.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ public class GrpcServerProperties {
113
113
privatebooleanenableKeepAlive = false;
114
114
115
115
/**
116
-
* The default delay before we send a keepAlives. Defaults to {@code 60s}. Default unit {@link ChronoUnit#SECONDS
116
+
* The default delay before we send a keepAlives. Defaults to {@code 2h}. Default unit {@link ChronoUnit#SECONDS
117
117
* SECONDS}.
118
118
*
119
119
* @see #setEnableKeepAlive(boolean)
@@ -123,7 +123,7 @@ public class GrpcServerProperties {
123
123
* @return The default delay before sending keepAlives.
0 commit comments