"Refresh apps" option only works in increments of 20 even when more workers are available #18165
Open
3 tasks done
Labels
bug
Something isn't working
Checklist:
argocd version
.Describe the bug
The web UI only submits requests in blocks of 20, and waits for all requests in that block to finish before launching another block of 20. This causes a mass refresh of applications to get stuck if any of the individual applications get stuck, and significantly slows the process down because if
status-processors
is set higher than the default then the UI won't use the maximum number of possible workers.The relevant block of code seems to be here:
argo-cd/ui/src/app/applications/components/applications-refresh-panel/applications-refresh-panel.tsx
Lines 67 to 70 in 653fc8d
To Reproduce
argocd-application-controller
has--status-processors
set to a number higher than 20Expected behavior
One or both of the following:
Screenshots
Here's a screenshot of the network page during the refresh operation showing that the refresh requests are being fired in blocks of 20:
(URLs omitted from the screenshot since they contain company info, but these are all requests to refresh an app)
Version
(The shell is slightly out of date on the machine I'm submitting this from, but I didn't use the shell at all.)
Logs
N/A
The text was updated successfully, but these errors were encountered: