Increase pro quota and bodysize

This commit is contained in:
2023-07-30 16:37:39 +02:00
parent 165c6d8614
commit ee9e858584
5 changed files with 33 additions and 47 deletions

View File

@@ -49,9 +49,9 @@ func (u User) JSONWithClients(clients []Client, ak string, sk string, rk string)
func (u User) MaxContentLength() int {
if u.IsPro {
return 16384
return 2 * 1024 * 1024 // 2 MB
} else {
return 2048
return 2 * 1024 // 2 KB
}
}
@@ -61,7 +61,7 @@ func (u User) MaxTitleLength() int {
func (u User) QuotaPerDay() int {
if u.IsPro {
return 1000
return 5000
} else {
return 50
}