X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20200907092050_move_tokens_expiration_into_oban.exs;h=725c5ab0b1cd6d2a7baad2369bff07ad2c4c8261;hb=3b634dcbe7a4cbdd261872fd6f58ec64df89e199;hp=9e49ddacbb7fdc6802dc873229cdff1499f8aeeb;hpb=adbd0032fab0f2515689fd2ab6629fb8cd05b09d;p=akkoma diff --git a/priv/repo/migrations/20200907092050_move_tokens_expiration_into_oban.exs b/priv/repo/migrations/20200907092050_move_tokens_expiration_into_oban.exs index 9e49ddacb..725c5ab0b 100644 --- a/priv/repo/migrations/20200907092050_move_tokens_expiration_into_oban.exs +++ b/priv/repo/migrations/20200907092050_move_tokens_expiration_into_oban.exs @@ -6,6 +6,8 @@ defmodule Pleroma.Repo.Migrations.MoveTokensExpirationIntoOban do def change do Pleroma.Config.Oban.warn() + Application.ensure_all_started(:oban) + Supervisor.start_link([{Oban, Pleroma.Config.get(Oban)}], strategy: :one_for_one, name: Pleroma.Supervisor