diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/cache/service/user/impl/UserAccountAuthCacheServiceImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/cache/service/user/impl/UserAccountAuthCacheServiceImpl.java index d1c4eb67..2b010b1e 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/cache/service/user/impl/UserAccountAuthCacheServiceImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/cache/service/user/impl/UserAccountAuthCacheServiceImpl.java @@ -29,7 +29,7 @@ public class UserAccountAuthCacheServiceImpl implements UserAccountAuthCacheServ } String key = "ACCOUNT_LOGIN_TIME" + ZonedDateTimeAsiaRiyadhUtils.nowDateToInt() + "_" + userId; - redisService.increment(key, 1l, 3, TimeUnit.DAYS); + redisService.increment(key, 1l, 5, TimeUnit.MINUTES); } @Override