We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa8ed11 commit c6dcdf9Copy full SHA for c6dcdf9
lib/db_connection.ex
@@ -433,7 +433,7 @@ defmodule DBConnection do
433
started, there are two relevant options to control the queue:
434
435
* `:queue_target` in milliseconds, defaults to 50ms
436
- * `:queue_interval` in milliseconds, defaults to 1000ms
+ * `:queue_interval` in milliseconds, defaults to 2000ms
437
438
Our goal is to wait at most `:queue_target` for a connection.
439
If all connections checked out during a `:queue_interval` takes
lib/db_connection/connection_pool.ex
@@ -14,7 +14,7 @@ defmodule DBConnection.ConnectionPool do
14
@behaviour DBConnection.Pool
15
16
@queue_target 50
17
- @queue_interval 1000
+ @queue_interval 2000
18
@idle_interval 1000
19
@time_unit 1000
20
0 commit comments