discourse/db
Guo Xiang Tan 4791d992dc PERF: Add index id DESC, baked_version ON posts.
A scheduled job runs `Post.rebake_old` with a limit of 80 which does a
look up for the latest posts that have not been baked to the latest
version. Before this commit, the query would run using the primary key's
index and does a reverse scan. However the query performance quicky
becomes bad as more and more of the latest posts have been baked to the
latest version.
2019-04-08 15:33:16 +08:00
..
fixtures FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
migrate PERF: Add index id DESC, baked_version ON posts. 2019-04-08 15:33:16 +08:00
post_migrate FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
api_test_seeds.rb Updates api_test_seeds for multiple auth_token support (#5414) 2017-12-09 08:56:11 +11:00