Skip to content

Commit

Permalink
[fix] config redis 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryeolee committed Nov 17, 2023
1 parent 72004f0 commit 5245dd8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ public RedisConnectionFactory redisConnectionFactory() {
RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfiguration();
redisStandaloneConfiguration.setHostName(redisHost);
redisStandaloneConfiguration.setPort(Integer.parseInt(redisPort));
LettuceConnectionFactory lettuceConnectionFactory = new LettuceConnectionFactory(redisStandaloneConfiguration);
return lettuceConnectionFactory;
return new LettuceConnectionFactory(redisStandaloneConfiguration);
}

@Bean
Expand Down

0 comments on commit 5245dd8

Please sign in to comment.