fix(fe/be): clean up and enable quota in ui

This commit is contained in:
hexxa 2021-08-08 17:58:16 +08:00 committed by Hexxa
parent cdd15be4aa
commit f986015c0b
11 changed files with 41 additions and 159 deletions

View file

@ -20,9 +20,9 @@ const (
RoleListNs = "roleList"
InitTimeKey = "initTime"
defaultSpaceLimit = 1024 // 1GB
defaultUploadSpeedLimit = 100 * 1024 // 100KB
defaultDownloadSpeedLimit = 100 * 1024 // 100KB
defaultSpaceLimit = 1024 // 1GB
defaultUploadSpeedLimit = 50 * 1024 * 1024 // 50MB
defaultDownloadSpeedLimit = 50 * 1024 * 1024 // 50MB
)
type Quota struct {