fix: avoid hanging when tasks randomly surge

See #557
This commit is contained in:
2025-09-29 19:25:38 +02:00
parent d5584f265a
commit a577ff3284

View File

@ -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
}