chore: add congestion control to AWS (#13691)

Signed-off-by: Edward Welch <edward.welch@grafana.com>
pull/13709/head
Ed Welch 10 months ago committed by GitHub
parent 646c75409e
commit b5584360d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      pkg/storage/factory.go

@ -488,6 +488,9 @@ func NewChunkClient(name string, cfg Config, schemaCfg config.SchemaConfig, cc c
if err != nil {
return nil, err
}
if cfg.CongestionControl.Enabled {
c = cc.Wrap(c)
}
return client.NewClientWithMaxParallel(c, nil, cfg.MaxParallelGetChunk, schemaCfg), nil
case types.StorageTypeGCS:

Loading…
Cancel
Save