Skip to content

Commit ebf0a52

Browse files
committed
added configuration metadata for immediate connection timeout
1 parent 496971b commit ebf0a52

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

grpc-client-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@
9494
"description": "The negotiation type to use on the connection.",
9595
"defaultValue": "TLS"
9696
},
97+
{
98+
"name": "grpc.client.GLOBAL.immediate-connection-timeout",
99+
"type": "java.time.Duration",
100+
"sourceType": "net.devh.boot.grpc.client.config.GrpcChannelProperties",
101+
"description": "Connection timeout at application startup. If set to a positive duration instructs a client to connect to GRPC-endpoint when GRPC stub is created.",
102+
"defaultValue": 0
103+
},
97104
{
98105
"name": "grpc.client.GLOBAL.security.authority-override",
99106
"type": "java.lang.String",

0 commit comments

Comments
 (0)