mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 03:58:34 +02:00
The quotas can be configured in the yaml configuration file. Default quota will be applied to any userId that is not matched in the custom quota list. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=178804649
14 lines
256 B
YAML
14 lines
256 B
YAML
refreshSeconds: 3600
|
|
|
|
defaultQuota:
|
|
userId: []
|
|
tokenAmount: 100
|
|
refillSeconds: 60
|
|
|
|
customQuota:
|
|
- userId: ["abc", "def"]
|
|
tokenAmount: 10
|
|
refillSeconds: 60
|
|
- userId: ["xyz123", "def", "luckycat"]
|
|
tokenAmount: 500
|
|
refillSeconds: 10
|