1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

fix: remove the use of client timeout as discovery time (#1715)

This commit is contained in:
Jason Song 2021-12-29 20:33:16 +08:00 committed by GitHub
parent d9530ed54b
commit b421389227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,6 @@ func dial(ctx context.Context, insecure bool, opts ...ClientOption) (*grpc.Clien
options.discovery,
discovery.WithInsecure(insecure),
discovery.WithLogger(options.logger),
discovery.WithTimeout(options.timeout),
)))
}
if insecure {