From 01a4463ea7df9c6491d6181008112b7cebd27b51 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 28 Dec 2022 04:11:48 +0300 Subject: `updateReactionsFor` should not evict caches --- src/main/java/com/juick/service/MessagesService.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main/java/com/juick/service') 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 getMessages(User visitor, List mids); - @CacheEvict(value = { "discover", "discussions", "messages", "replies" }, allEntries = true) Map> updateReactionsFor(final List mid); @Cacheable(value = "replies", key="{ #user.uid, #mid }") -- cgit v1.2.3