Skip to content

Commit

Permalink
Merge pull request #43 from Tencent/dev_berg
Browse files Browse the repository at this point in the history
bug: 修复某些场景下取消滚动升级超时的问题; issue #42
  • Loading branch information
DeveloperJim committed Jun 4, 2019
2 parents 255a616 + e758d8b commit a3491e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ func (b *backend) CancelUpdateDeployment(ns string, name string) error {
for {
if deployment.IsInRolling && deployment.CurrRollingOp == types.DEPLOYMENT_OPERATION_DELETE {
times++
if times > 15 {
if times > 8 {
blog.Error("request cancelupdate deployment(%s.%s): in deleting taskgroups", ns, name)
return errors.New("deployment is deleting taskgroups, cannot cancelupdate now, try later")
}
Expand Down

0 comments on commit a3491e0

Please sign in to comment.