fix: fix "error update user quota cache: Error 1040: Too many connections"

This commit is contained in:
JustSong 2024-02-25 16:58:14 +08:00
parent 5b78886ad3
commit f141a37a9e

View File

@ -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
} }