summaryrefslogtreecommitdiffstats
path: root/store/storetest/post_store.go
Commit message (Collapse)AuthorAgeFilesLines
* MM-9770: rewrite getParentsPosts to improve performance (#8467)Jesse Hallam2018-03-161-95/+153
| | | | | | | | | | | | | | | | | | | | * rename variables in testPostStoreGetPostsWithDetails This helps to clarify the structure of the posts under test. * clarify and expand existing testPostStoreGetPostsWithDetails assertions * expand testPostStoreGetPostsWithDetails assertions This verifies that replies to posts in the window, themselves not in the window (because of a non-zero offset) are still fetched. They were previously missing. * MM-9770: rewrite getParentsPosts to improve performance See discussion on ~developers-performance, but the basic idea here is to force the database to use the `PRIMARY` index when fetching posts instead of trying to filter down by channel and doing a scan.
* ABC-228 Update GetPosts caching to work for non-60 limits (#8233)Joram Wilander2018-02-091-2/+21
| | | | | | | | * Update GetPosts caching to work for non-60 limits * Only cache on limits of 30/60 and add test * Add comments clarifying 30 and 60 limits
* fix posts created at test (#7977)Chris2017-12-141-10/+5
|
* Remove unused variables / code (#7736)Chris2017-10-301-1/+1
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* PLT-7934: Make query for bulk elasticsearch indexing more efficient. (#7664)George Goldberg2017-10-251-1/+30
|
* refactor max channels per team enforcement (#7690)Chris2017-10-201-7/+7
|
* store/storetest package (#7588)Chris2017-10-061-0/+1684
* prerequisites * storetest package