forked from AkkomaGang/akkoma
Start finch on mix tasks
This commit is contained in:
parent
1677a89422
commit
893029ca27
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ defmodule Mix.Pleroma do
|
||||||
Pleroma.Config.Oban.warn()
|
Pleroma.Config.Oban.warn()
|
||||||
Pleroma.Application.limiters_setup()
|
Pleroma.Application.limiters_setup()
|
||||||
Application.put_env(:phoenix, :serve_endpoints, false, persistent: true)
|
Application.put_env(:phoenix, :serve_endpoints, false, persistent: true)
|
||||||
|
Finch.start_link(name: MyFinch)
|
||||||
|
|
||||||
|
|
||||||
unless System.get_env("DEBUG") do
|
unless System.get_env("DEBUG") do
|
||||||
Logger.remove_backend(:console)
|
Logger.remove_backend(:console)
|
||||||
|
|
Loading…
Reference in a new issue