evict journal_id cache when comment update

main
wangqing 9 months ago
parent 77fc490c6c
commit 8c55f0313e

@ -33,6 +33,7 @@ public class CleanJournalQueryPageListener {
} }
String journalQueryPageKey = getJournalQueryPageKey(optional.get()); String journalQueryPageKey = getJournalQueryPageKey(optional.get());
cacheChannel.evict(Constants.J2CACHE_REGION_JOURNAL_QUERY_PAGE, journalQueryPageKey); cacheChannel.evict(Constants.J2CACHE_REGION_JOURNAL_QUERY_PAGE, journalQueryPageKey);
cacheChannel.evict(Constants.J2CACHE_REGION_JOURNAL_ID,journalId);
} }
private String getJournalQueryPageKey(Journal journal) { private String getJournalQueryPageKey(Journal journal) {

Loading…
Cancel
Save