From 9d8e2db9794427538deca03ffa92fcd034856b19 Mon Sep 17 00:00:00 2001 From: nitishfy Date: Wed, 5 Feb 2025 18:12:56 +0530 Subject: [PATCH] change the compression type to gzip Signed-off-by: nitishfy --- cmd/argocd/commands/headless/headless.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/argocd/commands/headless/headless.go b/cmd/argocd/commands/headless/headless.go index 79f9be0875396e..e19f7f6c3977a8 100644 --- a/cmd/argocd/commands/headless/headless.go +++ b/cmd/argocd/commands/headless/headless.go @@ -320,8 +320,10 @@ func NewClientOrDie(opts *apiclient.ClientOptions, c *cobra.Command) apiclient.C ctxStr := initialize.RetrieveContextIfChanged(c.Flag("context")) // If we're in core mode, start the API server on the fly and configure the client `opts` to use it. - // If we're not in core mode, this function call will do nothing. - err := MaybeStartLocalServer(ctx, opts, ctxStr, nil, nil, cache.RedisCompressionNone, nil) + // If we're not in core mode, this function call will do nothing. The Redis Compression has been set + // to GZip because it is the default compression type. + // https://github.com/argoproj/argo-cd/issues/13458 + err := MaybeStartLocalServer(ctx, opts, ctxStr, nil, nil, cache.RedisCompressionGZip, nil) if err != nil { log.Fatal(err) }