From 4637f701c01f24a84be60081744ba357ddb70e60 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 17 Aug 2025 09:34:02 +0300 Subject: [PATCH] Reduce cache size in production --- config/runtime.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index dea198db..2e0f496a 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -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 =