Commit 3c429e229a4525b5ed6e734947053c345918c7ec

Thomas de Grivel 2023-10-17T10:43:54

increase db resources

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/config/runtime.exs b/config/runtime.exs
index 89e03e3..1b9a614 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -15,7 +15,8 @@ if config_env() == :prod do
     # ssl: true,
     # socket_options: [:inet6],
     url: database_url,
-    pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
+    pool_size: String.to_integer(System.get_env("POOL_SIZE") || "20"),
+    queue_target: 5000
 
   # The secret key base is used to sign/encrypt cookies and other secrets.
   # A default value is used in config/dev.exs and config/test.exs but you