From 14547838d8aad53e635efd2f698432059866776c Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 9 Feb 2026 09:53:36 +0000 Subject: [PATCH] Do not leak sensitive db data in prod --- config/runtime.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index dfe27faf..23292cdd 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -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