Skip to content

Commit ca0edde

Browse files
committed
Fix wrong default value in comment.
1 parent 54d5a71 commit ca0edde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ public Duration getImmediateConnectTimeout() {
406406
* If set to a positive duration instructs the client to connect to the gRPC endpoint when the GRPC stub is created.
407407
* As a result the application startup will be slightly slower due to connection process being executed
408408
* synchronously up to the maximum to connection timeout. If the connection fails, the stub will fail to create with
409-
* an exception which in turn causes the application context startup to fail. Defaults to false.
409+
* an exception which in turn causes the application context startup to fail. Defaults to {@code 0}.
410410
*
411411
* @param immediateConnectTimeout Connection timeout at application startup.
412412
*/

0 commit comments

Comments
 (0)