mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 02:03:40 +08:00
1a3b9a7352
This commit changes the uploads:secure_upload_analyse_and_update and uploads:disable_secure_uploads to no longer rebake affected posts inline. This just took way too long, and if the task stalled you couldn't be sure if the rest of it completed. Instead, we can update the baked_version of affected posts and utilize our PeriodicalUpdates job to gradually rebake them. I added warnings about increasing the site setting rebake_old_posts_count and the global setting max_old_rebakes_per_15_minutes before doing this as well. For good measure, the affected post IDs are written to a JSON file too. |
||
---|---|---|
.. | ||
assets_precompile_spec.rb | ||
compatibility_spec.rb | ||
hashtags_spec.rb | ||
incoming_emails_spec.rb | ||
posts_spec.rb | ||
redis_spec.rb | ||
themes_spec.rb | ||
topics_spec.rb | ||
uploads_spec.rb | ||
users_spec.rb | ||
version_bump_spec.rb |