Skip to content

Commit

Permalink
fix: when restart rolling, timeout config to 1 hour
Browse files Browse the repository at this point in the history
  • Loading branch information
YenchangChan committed Feb 1, 2024
1 parent a5ba4e0 commit aa0120d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/runner/ck.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func ConfigCkCluster(task *model.Task, d deploy.CKDeploy) error {
if err := rd.Restart(); err != nil {
return err
}
if err := rd.Check(30); err != nil {
if err := rd.Check(model.MaxTimeOut); err != nil {
return err
}
deploy.SetNodeStatus(task, model.NodeStatusDone, host)
Expand Down

0 comments on commit aa0120d

Please sign in to comment.