From 11368e51434abbe18b769dcfdbf6fbf8e413f39f Mon Sep 17 00:00:00 2001 From: Karl-Aksel Puulmann Date: Fri, 8 Mar 2024 12:27:59 +0200 Subject: [PATCH] Temporarily disable tzdata auto-updating (#3873) This can cause issues as 1 day after a deploy the tzdata list is updated from 2021 to 2024. Selecting a timezone thats not supported in 2021 can then break dashboards temporarily following a deploy. This can be reverted after https://github.com/plausible/analytics/pull/3811 --- config/runtime.exs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/runtime.exs b/config/runtime.exs index 30c2100da..844e9a269 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -693,6 +693,9 @@ config :tzdata, :data_dir, get_var_from_path_or_env(config_dir, "STORAGE_DIR", Application.app_dir(:tzdata, "priv")) +# Temporarily disable tzdata auto-updating +config :tzdata, :autoupdate, :disabled + promex_disabled? = config_dir |> get_var_from_path_or_env("PROMEX_DISABLED", "true")