[#2534] Earlier init of Pleroma.Web.Endpoint (must be started prior to Pleroma.Web...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 22 Feb 2021 20:09:41 +0000 (23:09 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 22 Feb 2021 20:09:41 +0000 (23:09 +0300)
lib/pleroma/application.ex

index 375507de16570c3b58ac10d40df1cdfeb1faf47b..c853a2bb4564409c22bae36d5fdc1a622913a35a 100644 (file)
@@ -97,13 +97,13 @@ defmodule Pleroma.Application do
           Pleroma.Stats,
           Pleroma.JobQueueMonitor,
           {Majic.Pool, [name: Pleroma.MajicPool, pool_size: Config.get([:majic_pool, :size], 2)]},
-          {Oban, Config.get(Oban)}
+          {Oban, Config.get(Oban)},
+          Pleroma.Web.Endpoint
         ] ++
         task_children(@mix_env) ++
         dont_run_in_test(@mix_env) ++
         chat_child(chat_enabled?()) ++
         [
-          Pleroma.Web.Endpoint,
           Pleroma.Gopher.Server
         ]