mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 23:44:30 +00:00
Remove reloading tzworld
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
44e8ac7e9a
commit
358be2aac6
1 changed files with 1 additions and 3 deletions
|
@ -19,7 +19,6 @@ defmodule Mobilizon do
|
||||||
alias Mobilizon.Federation.ActivityPub
|
alias Mobilizon.Federation.ActivityPub
|
||||||
alias Mobilizon.Service.{ErrorPage, ErrorReporting}
|
alias Mobilizon.Service.{ErrorPage, ErrorReporting}
|
||||||
alias Mobilizon.Service.Export.{Feed, ICalendar}
|
alias Mobilizon.Service.Export.{Feed, ICalendar}
|
||||||
alias TzWorld.Backend.DetsWithIndexCache
|
|
||||||
|
|
||||||
@name Mix.Project.config()[:name]
|
@name Mix.Project.config()[:name]
|
||||||
@version Mix.Project.config()[:version]
|
@version Mix.Project.config()[:version]
|
||||||
|
@ -38,9 +37,8 @@ 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 and reload TzWorld at runtime so that the data is not contained in releases
|
# We update TzWorld at runtime so that the data is not contained in releases
|
||||||
TzWorldUpdate.run(nil)
|
TzWorldUpdate.run(nil)
|
||||||
DetsWithIndexCache.handle_call(:reload_data, nil, nil)
|
|
||||||
|
|
||||||
children =
|
children =
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue