server: add EXPERIMENTAL tag to grpc.ConnectTimeout (#1652)

This commit is contained in:
dfawley
2017-11-06 10:29:48 -08:00
committed by GitHub
parent 865013bc17
commit 551f295763

View File

@ -309,6 +309,8 @@ func UnknownServiceHandler(streamHandler StreamHandler) ServerOption {
// connection establishment (up to and including HTTP/2 handshaking) for all
// new connections. If this is not set, the default is 120 seconds. A zero or
// negative value will result in an immediate timeout.
//
// This API is EXPERIMENTAL.
func ConnectionTimeout(d time.Duration) ServerOption {
return func(o *options) {
o.connectionTimeout = d