Reduce cache size in production

This commit is contained in:
Claudio Ortolina
2025-08-17 09:34:02 +03:00
parent a4bd6c3609
commit 4637f701c0
+2 -2
View File
@@ -76,8 +76,8 @@ if config_env() == :prod do
config :music_library, MusicLibrary.Repo,
database: database_path,
# 16MB * pool_size = base memory usage
cache_size: -64_000,
# 32MB * pool_size = base memory usage
cache_size: -32_000,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5")
error_database_path =