diff --git a/storage/config.go b/storage/config.go index 518202e..a44c150 100644 --- a/storage/config.go +++ b/storage/config.go @@ -33,7 +33,7 @@ var ( defaultConfig = &Config{ Type: TypeS3, Limits: LimitsConfig{ - GetLimitMegabytes: 0, + GetLimitMegabytes: 2, }, Connection: ConnectionConfig{ Region: "us-east-1", diff --git a/storage/stow_store_test.go b/storage/stow_store_test.go index bec30aa..87025ed 100644 --- a/storage/stow_store_test.go +++ b/storage/stow_store_test.go @@ -181,7 +181,6 @@ func TestStowStore_ReadRaw(t *testing.T) { t.Run("Exceeds limit", func(t *testing.T) { testScope := promutils.NewTestScope() fn := fQNFn["s3"] - GetConfig().Limits.GetLimitMegabytes = 2 s, err := NewStowRawStore(fn(container), &mockStowLoc{ ContainerCb: func(id string) (stow.Container, error) {