diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake index a1d74eff7f2..fd9c5d34981 100644 --- a/lib/tasks/db.rake +++ b/lib/tasks/db.rake @@ -28,7 +28,7 @@ end # we need to run seed_fu every time we run rails db:migrate task 'db:migrate', [:multisite] => ['environment', 'set_locale'] do |_, args| SeedFu.seed(DiscoursePluginRegistry.seed_paths) - Jobs::Onceoff.enqueue_all + Jobs.enqueue_in(60, :enqueue_onceoffs) if Rails.env.test? && !args[:multisite] system("rails db:schema:dump")