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:
parent
d9530ed54b
commit
b421389227
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user