parent
598a0bdc9a
commit
cc88b8f4f4
|
@ -32,7 +32,7 @@ type GrpcClient interface {
|
|||
}
|
||||
|
||||
func New(ctx context.Context, opts map[string]string, session, product string, c pb.LLBBridgeClient, w []client.WorkerInfo) (GrpcClient, error) {
|
||||
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
|
||||
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
|
||||
defer cancel()
|
||||
resp, err := c.Ping(ctx, &pb.PingRequest{})
|
||||
if err != nil {
|
||||
|
|
|
@ -176,7 +176,7 @@ func runBuildkitd(conf *BackendConfig, args []string, logs map[string]*bytes.Buf
|
|||
deferF.append(stop)
|
||||
}
|
||||
|
||||
if err := waitUnix(address, 5*time.Second); err != nil {
|
||||
if err := waitUnix(address, 10*time.Second); err != nil {
|
||||
return "", nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue