satellite/accounting: default project limits (#4001)

This commit is contained in:
littleskunk 2020-12-17 22:27:05 +01:00 committed by GitHub
parent 28eaae66af
commit 3feee9f4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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