Merge pull request #142 from alimy/main

fixed get index post list error when not user cache index service
pull/144/head
Michael Li 2 years ago committed by GitHub
commit db41020d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,6 +44,7 @@ func NewDataService() core.DataService {
ds.getIndexPostsFunc = ds.getIndexPosts
ds.cacheIndex = newBigCacheIndexServant(ds.getIndexPosts)
} else {
ds.getIndexPostsFunc = ds.getIndexPosts
ds.useCacheIndex = false
}

Loading…
Cancel
Save