From ffd6ccde2ed4b1d374d0835c5638a189df60a679 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 22 Dec 2016 18:14:54 -0500 Subject: Adding caching of last 60 posts. (#4880) --- store/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'store/store.go') diff --git a/store/store.go b/store/store.go index 643fe925a..8521713d5 100644 --- a/store/store.go +++ b/store/store.go @@ -127,7 +127,7 @@ type PostStore interface { Get(id string) StoreChannel Delete(postId string, time int64) StoreChannel PermanentDeleteByUser(userId string) StoreChannel - GetPosts(channelId string, offset int, limit int) StoreChannel + GetPosts(channelId string, offset int, limit int, allowFromCache bool) StoreChannel GetFlaggedPosts(userId string, offset int, limit int) StoreChannel GetPostsBefore(channelId string, postId string, numPosts int, offset int) StoreChannel GetPostsAfter(channelId string, postId string, numPosts int, offset int) StoreChannel -- cgit v1.2.3-1-g7c22