diff --git a/config/runtime.exs b/config/runtime.exs index 3c988385..10474812 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -98,7 +98,7 @@ if config_env() == :prod do config :microwaveprop, Microwaveprop.Repo, # ssl: true, url: database_url, - pool_size: String.to_integer(System.get_env("POOL_SIZE") || "50"), + pool_size: String.to_integer(System.get_env("POOL_SIZE") || "20"), # For machines with several cores, consider starting multiple pools of `pool_size` # pool_count: 4, socket_options: maybe_ipv6