Increase cache size for MusicLibrary.Repo

This commit is contained in:
Claudio Ortolina
2025-06-01 16:33:50 +01:00
parent c4fa389e5d
commit 42bf4cb84c
+1 -1
View File
@@ -77,7 +77,7 @@ if config_env() == :prod do
config :music_library, MusicLibrary.Repo, config :music_library, MusicLibrary.Repo,
database: database_path, database: database_path,
# 16MB * pool_size = base memory usage # 16MB * pool_size = base memory usage
cache_size: -8000, cache_size: -32_000,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5") pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5")
error_database_path = error_database_path =