disable tzdata in prod

This commit is contained in:
Graham McIntire 2026-02-14 14:02:18 -06:00
parent 458b4babc9
commit e73988303f
No known key found for this signature in database

View file

@ -326,4 +326,9 @@ if config_env() == :prod do
config :towerops,
cloudflare_zone_id: System.get_env("CLOUDFLARE_ZONE_ID"),
cloudflare_api_token: System.get_env("CLOUDFLARE_API_TOKEN")
# Disable automatic timezone database updates in production
# Timezone data is updated through dependency updates instead
# This prevents crashes when network timeouts occur during automatic updates
config :tzdata, :autoupdate, :disabled
end