From cfbd5359042db704169f5f9b50ca584201500a8b Mon Sep 17 00:00:00 2001 From: Alexander Matyushentsev Date: Wed, 2 Dec 2020 13:36:26 -0800 Subject: [PATCH] fix: reset cached manifest generation errors after 1hr instead of 12 requests (#4953) Signed-off-by: Alexander Matyushentsev --- cmd/argocd-repo-server/commands/argocd_repo_server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/argocd-repo-server/commands/argocd_repo_server.go b/cmd/argocd-repo-server/commands/argocd_repo_server.go index 5e93ea0252..3f16046bfe 100644 --- a/cmd/argocd-repo-server/commands/argocd_repo_server.go +++ b/cmd/argocd-repo-server/commands/argocd_repo_server.go @@ -32,8 +32,8 @@ const ( gnuPGSourcePath = "/app/config/gpg/source" defaultPauseGenerationAfterFailedGenerationAttempts = 3 - defaultPauseGenerationOnFailureForMinutes = 0 - defaultPauseGenerationOnFailureForRequests = 12 + defaultPauseGenerationOnFailureForMinutes = 60 + defaultPauseGenerationOnFailureForRequests = 0 ) func getGnuPGSourcePath() string {