1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-22 04:10:14 +01:00

Merge remote-tracking branch 'upstream/fix/2139-oban-migration' into nb-migration-fix

This commit is contained in:
Your New SJW Waifu 2020-09-13 04:21:28 -05:00
commit b8d7f93e1f
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,8 @@ defmodule Pleroma.Repo.Migrations.MoveActivityExpirationsToOban do
import Ecto.Query, only: [from: 2]
def change do
Pleroma.Config.Oban.warn()
Supervisor.start_link([{Oban, Pleroma.Config.get(Oban)}],
strategy: :one_for_one,
name: Pleroma.Supervisor

View File

@ -4,6 +4,8 @@ defmodule Pleroma.Repo.Migrations.MoveTokensExpirationIntoOban do
import Ecto.Query, only: [from: 2]
def change do
Pleroma.Config.Oban.warn()
Supervisor.start_link([{Oban, Pleroma.Config.get(Oban)}],
strategy: :one_for_one,
name: Pleroma.Supervisor