Do not leak sensitive db data in prod

This commit is contained in:
Claudio Ortolina
2026-02-09 09:53:36 +00:00
parent 82a5a78711
commit 14547838d8
+2 -2
View File
@@ -83,7 +83,7 @@ if config_env() == :prod do
cache_size: -128_000,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5"),
temp_store: :memory,
show_sensitive_data_on_connection_error: true
show_sensitive_data_on_connection_error: false
background_database_path =
System.get_env("BACKGROUND_DATABASE_PATH") ||
@@ -97,7 +97,7 @@ if config_env() == :prod do
# 16MB * pool_size = base memory usage
cache_size: -8000,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5"),
show_sensitive_data_on_connection_error: true
show_sensitive_data_on_connection_error: false
# The secret key base is used to sign/encrypt cookies and other secrets.
# A default value is used in config/dev.exs and config/test.exs but you