mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 10:02:10 +03:00
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
This commit is contained in:
parent
a9d3c03782
commit
11368e5143
@ -693,6 +693,9 @@ config :tzdata,
|
|||||||
:data_dir,
|
:data_dir,
|
||||||
get_var_from_path_or_env(config_dir, "STORAGE_DIR", Application.app_dir(:tzdata, "priv"))
|
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? =
|
promex_disabled? =
|
||||||
config_dir
|
config_dir
|
||||||
|> get_var_from_path_or_env("PROMEX_DISABLED", "true")
|
|> get_var_from_path_or_env("PROMEX_DISABLED", "true")
|
||||||
|
Loading…
Reference in New Issue
Block a user