Skip to content

Commit

Permalink
Merge pull request #176 from IoTeaTime/fix/175-redis-oom
Browse files Browse the repository at this point in the history
fix: Redis OOM
  • Loading branch information
ywonchae1 authored Nov 26, 2024
2 parents d0c6af5 + d15b806 commit 305d1c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public RedisConnectionFactory redisConnectionFactory() {
RedisStandaloneConfiguration redisConfiguration = new RedisStandaloneConfiguration();
redisConfiguration.setHostName(host);
redisConfiguration.setPort(Integer.parseInt(port));
redisConfiguration.setPassword(password);
// redisConfiguration.setPassword(password);
return new LettuceConnectionFactory(redisConfiguration);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@Getter
@AllArgsConstructor
@Builder
@RedisHash(value = "refreshToken", timeToLive = 60 * 60 * 24 * 30)
@RedisHash(value = "refreshToken", timeToLive = 60 * 60 * 24 * 14)
public class RefreshToken {
@Id private Long id;

Expand Down

0 comments on commit 305d1c5

Please sign in to comment.