Remove tzworld loading dynamically
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e7662d3c77
commit
41eb62bc2b
@ -14,7 +14,6 @@ defmodule Mobilizon do
|
|||||||
|
|
||||||
import Cachex.Spec
|
import Cachex.Spec
|
||||||
|
|
||||||
alias Mix.Tasks.TzWorld.Update, as: TzWorldUpdate
|
|
||||||
alias Mobilizon.{Config, Storage, Web}
|
alias Mobilizon.{Config, Storage, Web}
|
||||||
alias Mobilizon.Federation.ActivityPub
|
alias Mobilizon.Federation.ActivityPub
|
||||||
alias Mobilizon.Service.{ErrorPage, ErrorReporting}
|
alias Mobilizon.Service.{ErrorPage, ErrorReporting}
|
||||||
@ -37,9 +36,6 @@ defmodule Mobilizon do
|
|||||||
@spec start(:normal | {:takeover, node} | {:failover, node}, term) ::
|
@spec start(:normal | {:takeover, node} | {:failover, node}, term) ::
|
||||||
{:ok, pid} | {:ok, pid, term} | {:error, term}
|
{:ok, pid} | {:ok, pid, term} | {:error, term}
|
||||||
def start(_type, _args) do
|
def start(_type, _args) do
|
||||||
# We update TzWorld at runtime so that the data is not contained in releases
|
|
||||||
TzWorldUpdate.run(nil)
|
|
||||||
|
|
||||||
children =
|
children =
|
||||||
[
|
[
|
||||||
# supervisors
|
# supervisors
|
||||||
|
Loading…
Reference in New Issue
Block a user