diff options
author | Vitaly Takmazov | 2019-08-09 11:47:11 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-08-09 11:47:11 +0300 |
commit | 4f1b9963598fcd9d24a05c21560934b78709f031 (patch) | |
tree | 8220f32f2811703563408e80b8a60dc44f3701a4 /src/main/java/com/juick/service/SubscriptionService.java | |
parent | ba27618f479974e8cef76c19e498d8d33106c043 (diff) |
Revert "Evict caches on user changes, fix tests"
This reverts commit 17578516fe0978602ddfac56055cfb1d1b2e0121.
Diffstat (limited to 'src/main/java/com/juick/service/SubscriptionService.java')
-rw-r--r-- | src/main/java/com/juick/service/SubscriptionService.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/com/juick/service/SubscriptionService.java b/src/main/java/com/juick/service/SubscriptionService.java index b9bfcabd..8bc8d071 100644 --- a/src/main/java/com/juick/service/SubscriptionService.java +++ b/src/main/java/com/juick/service/SubscriptionService.java @@ -21,7 +21,6 @@ import com.juick.Message; import com.juick.Tag; import com.juick.User; import com.juick.model.NotifyOpts; -import org.springframework.cache.annotation.CacheEvict; import java.util.List; @@ -38,7 +37,6 @@ public interface SubscriptionService { List<User> getUsersSubscribedToUserRecommendations(int uid, Message msg); - @CacheEvict(value = { "discussions" }, allEntries = true) boolean subscribeMessage(Message message, User user); boolean unSubscribeMessage(int mid, int vuid); |