Skip to content

Commit 7196d8d

Browse files
authored
fix: change uninstall waittime to 5 minutes (#27)
1 parent 4e6ed84 commit 7196d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/server/handlers_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ func WaitForUninstall(name, token string, kubeConfig *rest.Config) error {
865865
}
866866
devNamespace := name + "-" + constants.Owner
867867
klog.Infof("wait for uninstall: %s", devNamespace)
868-
return wait.PollUntilContextTimeout(context.TODO(), time.Second, 3*time.Minute, true, func(ctx context.Context) (done bool, err error) {
868+
return wait.PollUntilContextTimeout(context.TODO(), time.Second, 5*time.Minute, true, func(ctx context.Context) (done bool, err error) {
869869
if err != nil {
870870
return false, err
871871
}

0 commit comments

Comments
 (0)