Skip to content

Commit

Permalink
change the compression type to gzip
Browse files Browse the repository at this point in the history
Signed-off-by: nitishfy <[email protected]>
  • Loading branch information
nitishfy committed Feb 5, 2025
1 parent 9843bfb commit 9d8e2db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/argocd/commands/headless/headless.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9d8e2db

Please sign in to comment.