Skip to content

Commit

Permalink
timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nivasan1 committed Mar 15, 2024
1 parent 7bcb8bc commit 481eb1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/provider/digitalocean/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func startContainerWithBlock(ctx context.Context, dockerClient *dockerclient.Cli
}

// cancel container after a minute
waitCtx, cancel := context.WithTimeout(ctx, time.Minute)
waitCtx, cancel := context.WithTimeout(ctx, 3*time.Minute)
defer cancel()
ticker := time.NewTicker(100 * time.Millisecond)
for {
Expand Down

0 comments on commit 481eb1a

Please sign in to comment.