Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/Genti2024/GenTI-BE into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJae-H committed Sep 3, 2024
2 parents ab485e3 + 8f692de commit c16cd6b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@ public class RedisConfigDeployProfile {
String host;
@Value("${redis.port}")
int port;
@Value("${redis.password}")
String password;

@Bean
public RedisConnectionFactory redisConnectionFactory() {
RedisStandaloneConfiguration redisConfiguration = new RedisStandaloneConfiguration();
redisConfiguration.setHostName(host);
redisConfiguration.setPort(port);
redisConfiguration.setPassword(password);
return new LettuceConnectionFactory(redisConfiguration);
}

Expand Down

0 comments on commit c16cd6b

Please sign in to comment.