@@ -371,16 +371,19 @@ func convertErrorToProgressing(history []configv1.UpdateHistory, now time.Time,
371371 return "" , "" , false
372372 case payload .UpdateEffectFailAfterInterval :
373373 var exceeded []string
374- threshold := now .Add (- (40 * time .Minute ))
374+ //threshold := now.Add(-(40 * time.Minute))
375+ threshold := now .Add (- (15 * time .Minute ))
375376 for _ , name := range strings .Split (uErr .Name , ", " ) {
376377 if payload .COUpdateStartTimesGet (name ).Before (threshold ) {
377378 exceeded = append (exceeded , name )
378379 }
379380 }
380381 if len (exceeded ) > 0 {
381- return uErr .Reason , fmt .Sprintf ("wait has exceeded 40 minutes for these operators: %s" , strings .Join (exceeded , ", " )), false
382+ //return uErr.Reason, fmt.Sprintf("wait has exceeded 40 minutes for these operators: %s", strings.Join(exceeded, ", ")), false
383+ return uErr .Reason , fmt .Sprintf ("wait has exceeded 15 minutes for these operators: %s" , strings .Join (exceeded , ", " )), false
382384 } else {
383- return uErr .Reason , fmt .Sprintf ("waiting up to 40 minutes on %s" , uErr .Name ), true
385+ //return uErr.Reason, fmt.Sprintf("waiting up to 40 minutes on %s", uErr.Name), true
386+ return uErr .Reason , fmt .Sprintf ("waiting up to 15 minutes on %s" , uErr .Name ), true
384387 }
385388 }
386389 }
0 commit comments