Skip to content

Commit

Permalink
Merge pull request #223 from sharemindteam/feature/215-front-shutdown
Browse files Browse the repository at this point in the history
feat: redisConfig에 shutdown 저장 관련 설정 추가
  • Loading branch information
letskuku authored Jul 15, 2024
2 parents c1f0216 + 99e222d commit 8b3fd88
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/com/example/sharemind/global/config/RedisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,14 @@ public RedisTemplate<String, Map<Long, Integer>> sessionRedisTemplate() {

return redisTemplate;
}


@Bean
public RedisTemplate<String, Boolean> booleanRedisTemplate() {
RedisTemplate<String, Boolean> redisTemplate = new RedisTemplate<>();

redisTemplate.setConnectionFactory(redisConnectionFactory());

return redisTemplate;
}
}

0 comments on commit 8b3fd88

Please sign in to comment.