We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f95b26f + a18fed2 commit 5952153Copy full SHA for 5952153
pkg/storage/s3/s3.go
@@ -419,7 +419,7 @@ func (d *driver) ConfigEnv() (envs envvar.List, err error) {
419
return
420
}
421
422
- if currentFeatureGates.Enabled(util.ChunkSizeMiBFeatureGateName) && d.Config.ChunkSizeMiB > 0 {
+ if currentFeatureGates.Enabled(util.ChunkSizeMiBFeatureGateName) && d.Config.ChunkSizeMiB > 4 && d.Config.ChunkSizeMiB < 5121 {
423
chunksize := int64(d.Config.ChunkSizeMiB) * 1024 * 1024
424
envs = append(envs, envvar.EnvVar{Name: "REGISTRY_STORAGE_S3_CHUNKSIZE", Value: chunksize})
425
0 commit comments