Skip to content

Commit 28d488c

Browse files
committed
Consider DB may not be available
1 parent a588895 commit 28d488c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/db_connection/connection_pool.ex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,10 @@ defmodule DBConnection.ConnectionPool do
287287
This means requests are coming in and your connection pool cannot serve them fast enough. \
288288
You can address this by:
289289
290-
1. Tracking down slow queries and making sure they are running fast enough
291-
2. Increasing the pool_size (albeit it increases resource consumption)
292-
3. Allowing requests to wait longer by increasing :queue_target and :queue_interval
290+
1. Your database is available and you have the proper credentials to connect to it
291+
2. Tracking down slow queries and making sure they are running fast enough
292+
3. Increasing the pool_size (albeit it increases resource consumption)
293+
4. Allowing requests to wait longer by increasing :queue_target and :queue_interval
293294
294295
See DBConnection.start_link/2 for more information
295296
"""

0 commit comments

Comments
 (0)