mirror of
https://github.com/restic/restic.git
synced 2026-11-06 15:29:21 +00:00
Update dependencies
This commit is contained in:
1 parent
f3b49987f8
commit
fda563d606
926 files changed
+189725
-98665
No files matched your search
+5
-1
@@ -102,7 +102,11 @@ func perfClient(pubDelay time.Duration, nConns int, f interface {
|
||||
}
|
||||
conn, err := gtransport.DialInsecure(ctx,
|
||||
option.WithEndpoint(srv.Addr),
|
||||
option.WithGRPCConnectionPool(nConns))
|
||||
option.WithGRPCConnectionPool(nConns),
|
||||
|
||||
// TODO(grpc/grpc-go#1388) using connection pool without WithBlock
|
||||
// can cause RPCs to fail randomly. We can delete this after the issue is fixed.
|
||||
option.WithGRPCDialOption(grpc.WithBlock()))
|
||||
if err != nil {
|
||||
f.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user