Skip to content

Commit

Permalink
[Fix/518] 핑퐁 목록 조회 v2 API를 수정한다 (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
miseongk authored Oct 17, 2024
1 parent 469309d commit d1da7bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ class AdminFacade(
CacheEvict(PING_PONG_BOTTLE_LIST, key = "1"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "2"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "9"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "1 + '-v2'"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "2 + '-v2'"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "9 + '-v2'"),
]
)
fun forceCleanUp() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ class BottleCachingService(
@Caching(
evict = [
CacheEvict(PING_PONG_BOTTLE_LIST, key = "#sourceUserId"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "#targetUserId")
CacheEvict(PING_PONG_BOTTLE_LIST, key = "#targetUserId"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "#sourceUserId + '-v2'"),
CacheEvict(PING_PONG_BOTTLE_LIST, key = "#targetUserId + '-v2'"),
]
)
fun evictPingPongList(sourceUserId: Long, targetUserId: Long) {
Expand Down

0 comments on commit d1da7bf

Please sign in to comment.