diff --git a/config/.env.dev b/config/.env.dev index d7e46e385456a..7e8c49468e28c 100644 --- a/config/.env.dev +++ b/config/.env.dev @@ -11,7 +11,7 @@ ADMIN_USER_IDS=1 SHOW_CITIES=true PADDLE_VENDOR_AUTH_CODE=895e20d4efaec0575bb857f44b183217b332d9592e76e69b8a PADDLE_VENDOR_ID=3942 - +MAXMIND_LICENSE_KEY=odoBRnUmhzfTygG0 GOOGLE_CLIENT_ID=875387135161-l8tp53dpt7fdhdg9m1pc3vl42si95rh0.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=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 diff --git a/lib/plausible/application.ex b/lib/plausible/application.ex index 0f7a291c1dc1b..9786feffe0f21 100644 --- a/lib/plausible/application.ex +++ b/lib/plausible/application.ex @@ -30,10 +30,18 @@ defmodule Plausible.Application do ] opts = [strategy: :one_for_one, name: Plausible.Supervisor] + setup_sentry() setup_opentelemetry() - setup_geolocation() - Location.load_all() + + Task.await_many( + [ + Task.async(&setup_geolocation/0), + Task.async(&Location.load_all/0) + ], + 15_000 + ) + Supervisor.start_link(children, opts) end