diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mix/pleroma.ex | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex index 2c84f939e..7fa3d6bf6 100644 --- a/lib/mix/pleroma.ex +++ b/lib/mix/pleroma.ex @@ -40,15 +40,14 @@ defmodule Mix.Pleroma do Supervisor.child_spec({Task, &Pleroma.Config.Environment.load_and_update/0}, id: :update_env ), - Pleroma.Web.Endpoint, - {Oban, Pleroma.Config.get(Oban)} + Pleroma.Web.Endpoint ] children = - if Application.get_env(:tesla, :adapter) == Tesla.Adapter.Gun do + if adapter == Tesla.Adapter.Gun do [Pleroma.Application.GunSupervisor | children] else - [Pleroma.Applicaiton.HackneySupervisor | children] + [Pleroma.Application.HackneySupervisor | children] end cachex_children = |