aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-28 04:11:48 +0300
committerGravatar Vitaly Takmazov2022-12-28 04:11:48 +0300
commit01a4463ea7df9c6491d6181008112b7cebd27b51 (patch)
tree082620ce8a39716b9654638089f2120a4b17db5a
parentc59988a0862e1acc2f5805b327db0bd00569d8e1 (diff)
`updateReactionsFor` should not evict caches
-rw-r--r--src/main/java/com/juick/service/MessagesService.java1
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 }")