satellite/accounting: default project limits (#4001)
This commit is contained in:
parent
28eaae66af
commit
3feee9f4f8
@ -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.
|
||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user