From 3feee9f4f805be08e36f98ac80cf594033c0447b Mon Sep 17 00:00:00 2001 From: littleskunk Date: Thu, 17 Dec 2020 22:27:05 +0100 Subject: [PATCH] satellite/accounting: default project limits (#4001) --- satellite/metainfo/config.go | 4 ++-- scripts/testdata/satellite-config.yaml.lock | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/satellite/metainfo/config.go b/satellite/metainfo/config.go index 1b7663e6f..1f068687f 100644 --- a/satellite/metainfo/config.go +++ b/satellite/metainfo/config.go @@ -108,8 +108,8 @@ type RateLimiterConfig struct { // ProjectLimitConfig is a configuration struct for default project limits. type ProjectLimitConfig struct { MaxBuckets int `help:"max bucket count for a project." default:"100"` - DefaultMaxUsage memory.Size `help:"the default storage usage limit" releaseDefault:"50.00GB" devDefault:"200GB"` - DefaultMaxBandwidth memory.Size `help:"the default bandwidth usage limit" releaseDefault:"50.00GB" devDefault:"200GB"` + DefaultMaxUsage memory.Size `help:"the default storage usage limit" default:"500.00GB"` + DefaultMaxBandwidth memory.Size `help:"the default bandwidth usage limit" default:"500.00GB"` } // Config is a configuration struct that is everything you need to start a metainfo. diff --git a/scripts/testdata/satellite-config.yaml.lock b/scripts/testdata/satellite-config.yaml.lock index 6c1b63161..c006ec0af 100755 --- a/scripts/testdata/satellite-config.yaml.lock +++ b/scripts/testdata/satellite-config.yaml.lock @@ -377,10 +377,10 @@ identity.key-path: /root/.local/share/storj/identity/satellite/identity.key # metainfo.piece-deletion.request-timeout: 1m0s # the default bandwidth usage limit -# metainfo.project-limits.default-max-bandwidth: 50.00 GB +# metainfo.project-limits.default-max-bandwidth: 500.00 GB # the default storage usage limit -# metainfo.project-limits.default-max-usage: 50.00 GB +# metainfo.project-limits.default-max-usage: 500.00 GB # max bucket count for a project. # metainfo.project-limits.max-buckets: 100