Skip to content

Commit

Permalink
HOTFIX: RedisConfig 환경변수 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
koreaioi authored Nov 8, 2024
1 parent 9871240 commit 1740fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/leets/X/global/config/RedisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class RedisConfig {
public RedisConnectionFactory redisConnectionFactory(){
// Redis 연동 설정 Host 주소와 Post를 주입해준 redisStandaloneConfiguration를
RedisStandaloneConfiguration redisStandaloneConfiguration =
new RedisStandaloneConfiguration("localhost", 6379);
new RedisStandaloneConfiguration(redisHost, redisPort);
// LettuceConnectionFactory의 생성자로 다시 넣어준다.
return new LettuceConnectionFactory(redisStandaloneConfiguration);
}
Expand Down

0 comments on commit 1740fb8

Please sign in to comment.