Skip to content

Commit

Permalink
fix:redis
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmondBreez3 committed Nov 18, 2023
1 parent f3fb072 commit 42514cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ObjectMapper redisObjectMapper() {

@Bean
public RedisConnectionFactory redisConnectionFactory() {
RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfiguration("localhost", port);
RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfiguration(host, port);
LettuceConnectionFactory connectionFactory = new LettuceConnectionFactory(redisStandaloneConfiguration);
return connectionFactory;
}
Expand Down

0 comments on commit 42514cc

Please sign in to comment.