X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fmix%2Fpleroma.ex;h=49ba2aae4b0d6daf9f6bc3356015e6cc062ab976;hb=065009a57a544d2b7d48bc6334fcd520fb7c5afa;hp=c2b607fb3ea4778664863c615cf7ef5027f6e021;hpb=9be66682369f1aa3c221d411073c20e10b5a3ac1;p=akkoma diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex index c2b607fb3..49ba2aae4 100644 --- a/lib/mix/pleroma.ex +++ b/lib/mix/pleroma.ex @@ -14,10 +14,11 @@ defmodule Mix.Pleroma do :swoosh, :timex ] - @cachex_children ["object", "user"] + @cachex_children ["object", "user", "scrubber"] @doc "Common functions to be reused in mix tasks" def start_pleroma do Pleroma.Config.Holder.save_default() + Pleroma.Config.Oban.warn() Application.put_env(:phoenix, :serve_endpoints, false, persistent: true) if Pleroma.Config.get(:env) != :test do @@ -39,7 +40,8 @@ defmodule Mix.Pleroma do [ Pleroma.Repo, {Pleroma.Config.TransferTask, false}, - Pleroma.Web.Endpoint + Pleroma.Web.Endpoint, + {Oban, Pleroma.Config.get(Oban)} ] ++ http_children(adapter)