Skip to content

Commit bd441cc

Browse files
fix : 공연 정보 redis 접두사 매개변수 수정
1 parent 2277b7c commit bd441cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/back/web7_9_codecrete_be/domain/concerts/repository/ConcertRedisRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private Map<Long, Integer> convertViewCountMap(Map<String, Integer> rawMap) {
141141

142142
// 해당 접두어의 모든 항목 삭제
143143
private void deleteAllItemsByPREFIX(String prefix) {
144-
String pattern = CONCERT_LIST_PREFIX + "*";
144+
String pattern = prefix + "*";
145145
ScanOptions options = ScanOptions.scanOptions().match(pattern).count(100).build();
146146
Set<String> keys = redisTemplate.execute((RedisCallback<Set<String>>) connection -> {
147147
Set<String> keySet = new HashSet<>();

0 commit comments

Comments
 (0)