mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
FIX: Ensure that jobs don't run immediately after migrate_to_s3
This commit is contained in:
parent
3fdc10337d
commit
68b082e1a4
@ -504,6 +504,7 @@ module BackupRestore
|
||||
ENV["SKIP_FAILED"] = "1"
|
||||
ENV["MIGRATE_TO_MULTISITE"] = "1" if Rails.configuration.multisite
|
||||
Rake::Task["uploads:migrate_to_s3"].invoke
|
||||
Jobs.run_later!
|
||||
end
|
||||
|
||||
def remove_local_uploads(directory)
|
||||
|
Loading…
Reference in New Issue
Block a user