diff options
author | Vitaly Takmazov | 2022-12-28 04:11:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-28 04:11:48 +0300 |
commit | 01a4463ea7df9c6491d6181008112b7cebd27b51 (patch) | |
tree | 082620ce8a39716b9654638089f2120a4b17db5a | |
parent | c59988a0862e1acc2f5805b327db0bd00569d8e1 (diff) |
`updateReactionsFor` should not evict caches
-rw-r--r-- | src/main/java/com/juick/service/MessagesService.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/MessagesService.java b/src/main/java/com/juick/service/MessagesService.java index eb1184e8..dda1cfd3 100644 --- a/src/main/java/com/juick/service/MessagesService.java +++ b/src/main/java/com/juick/service/MessagesService.java @@ -126,7 +126,6 @@ public interface MessagesService { @Cacheable(value = "messages", key="{ #visitor.uid, #mids.hashCode() }") List<Message> getMessages(User visitor, List<Integer> mids); - @CacheEvict(value = { "discover", "discussions", "messages", "replies" }, allEntries = true) Map<Integer,Set<Reaction>> updateReactionsFor(final List<Integer> mid); @Cacheable(value = "replies", key="{ #user.uid, #mid }") |