Browse Source

Remove tzworld loading dynamically

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
chapril
Thomas Citharel 9 months ago
parent
commit
41eb62bc2b
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 4
      lib/mobilizon.ex

4
lib/mobilizon.ex

@ -14,7 +14,6 @@ defmodule Mobilizon do
import Cachex.Spec
alias Mix.Tasks.TzWorld.Update, as: TzWorldUpdate
alias Mobilizon.{Config, Storage, Web}
alias Mobilizon.Federation.ActivityPub
alias Mobilizon.Service.{ErrorPage, ErrorReporting}
@ -37,9 +36,6 @@ defmodule Mobilizon do
@spec start(:normal | {:takeover, node} | {:failover, node}, term) ::
{:ok, pid} | {:ok, pid, term} | {:error, term}
def start(_type, _args) do
# We update TzWorld at runtime so that the data is not contained in releases
TzWorldUpdate.run(nil)
children =
[
# supervisors

Loading…
Cancel
Save