mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
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. |
||
---|---|---|
.. | ||
fixtures | ||
migrate | ||
post_migrate | ||
api_test_seeds.rb |