Skip to content

Commit

Permalink
Update lib/finch/http1/pool.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
sneako committed Nov 2, 2022
1 parent 61da280 commit a4babdb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/finch/http1/pool.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ defmodule Finch.HTTP1.Pool do
{:timeout, {NimblePool, :checkout, _affected_pids}} ->
reraise(
"""
Finch was unable to provide a connection within the timeout due to excess queueing for connections.\
This could be because the downstream system can't keep up with the amount of requests being sent or\
because you have an insufficient number of connections and need to increase your pool counts.
Finch was unable to provide a connection within the timeout due to excess queuing \
for connections. Consider adjusting the pool size, count, timeout or reducing the \
rate of requests if it is possible that the downstream service is unable to keep up \
with the current rate.
""",
__STACKTRACE__
)
Expand Down

0 comments on commit a4babdb

Please sign in to comment.