(EXP) Lower sqlite cache size in production

This commit is contained in:
Claudio Ortolina
2024-11-25 10:54:39 +00:00
parent c93cf6a406
commit 62b5e23fcd
+2
View File
@@ -38,6 +38,8 @@ if config_env() == :prod do
config :music_library, MusicLibrary.Repo,
database: database_path,
# 16MB * pool_size = base memory usage
cache_size: -16000,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5")
# The secret key base is used to sign/encrypt cookies and other secrets.