From 358be2aac6d5210bc0f2ffd96d4d1013c5b73865 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 22 Oct 2021 15:06:11 +0200 Subject: [PATCH] Remove reloading tzworld Signed-off-by: Thomas Citharel --- lib/mobilizon.ex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/mobilizon.ex b/lib/mobilizon.ex index d4733f38b..95fdc27cf 100644 --- a/lib/mobilizon.ex +++ b/lib/mobilizon.ex @@ -19,7 +19,6 @@ defmodule Mobilizon do alias Mobilizon.Federation.ActivityPub alias Mobilizon.Service.{ErrorPage, ErrorReporting} alias Mobilizon.Service.Export.{Feed, ICalendar} - alias TzWorld.Backend.DetsWithIndexCache @name Mix.Project.config()[:name] @version Mix.Project.config()[:version] @@ -38,9 +37,8 @@ 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 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) - DetsWithIndexCache.handle_call(:reload_data, nil, nil) children = [