Yudi A Phanama
Results
2
comments of
Yudi A Phanama
Faced the same issue, webhook calls taking >10s to finish. It is surely doing quite some network-bound work here, potentially calling `argo.RefreshApp()` or `storePreviouslyCachedManifests()` in each iteration. https://github.com/argoproj/argo-cd/blob/eb526ff1bdddea09c8dfd90373968fa85ac48b4f/util/webhook/webhook.go#L291-L311
I also imagined similar thing and thought that we'd ideally need some kind of queue for the webhook requests, but this would make the argocd-server somewhat stateful. We could optionally...