fix: fix "error update user quota cache: Error 1040: Too many connections"
This commit is contained in:
parent
5b78886ad3
commit
f141a37a9e
@ -94,7 +94,7 @@ func CacheUpdateUserQuota(id int) error {
|
|||||||
if !common.RedisEnabled {
|
if !common.RedisEnabled {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
quota, err := GetUserQuota(id)
|
quota, err := CacheGetUserQuota(id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user