feat(admin): 资源与策略 - 后台统一维护账号配额与运行时请求限制 (#37)
Fixes #35 Co-authored-by: ddCat <ddcat666@88.com>
This commit is contained in:
1 parent
78e27507c4
commit
d3dfede48f
40 files changed
+1202
-488
No files matched your search
@@ -216,7 +216,7 @@ func TestPersistGeneratedMediaAppliesStoredFileQuota(t *testing.T) {
|
||||
ID: "existing",
|
||||
UserID: "user-1",
|
||||
Status: model.ResourceStatusReady,
|
||||
Size: MaxUserStoredFileBytes - 1,
|
||||
Size: gigabytes(defaultRuntimePolicy().Resource.StoredFileGB) - 1,
|
||||
}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user