From a577ff3284b4c19e23910b52ae5c5927552ae9b8 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 29 Sep 2025 19:25:38 +0200 Subject: [PATCH] fix: avoid hanging when tasks randomly surge See https://git.coopcloud.tech/toolshed/abra/issues/557 --- pkg/upstream/stack/remove.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/upstream/stack/remove.go b/pkg/upstream/stack/remove.go index 35f0052d..45d912d2 100644 --- a/pkg/upstream/stack/remove.go +++ b/pkg/upstream/stack/remove.go @@ -247,7 +247,7 @@ func waitOnTasks(ctx context.Context, client apiclient.APIClient, namespace stri } } - if terminalStatesReached == len(tasks) { + if terminalStatesReached >= len(tasks) { log.Debug(i18n.G("all tasks reached terminal state")) break }