mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-27 04:16:37 +08:00
fix: rename correctly
This commit is contained in:
parent
e60c15802b
commit
1a856acd3f
@ -197,7 +197,7 @@ func CacheUpdateUserRefreshTimeStamp(id int, timestamp int64) error {
|
|||||||
if !common.RedisEnabled {
|
if !common.RedisEnabled {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
err := common.RedisSet(fmt.Sprintf("user_stamp:%d", id), fmt.Sprintf("%d", timestamp), time.Duration(UserId2QuotaCacheSeconds)*time.Second)
|
err := common.RedisSet(fmt.Sprintf("user_stamp:%d", id), fmt.Sprintf("%d", timestamp), time.Duration(UserId2timeCacheSeconds)*time.Second)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user