Skip to content

Commit

Permalink
docs(pool): fix typo in retry PoolResourceRefused comment (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
jphaward authored Oct 9, 2024
1 parent 532ae07 commit ba73f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db/pool.cr
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ module DB
sync { delete(e.resource) }
rescue e : PoolResourceRefused
# a ConnectionRefused means a new connection
# was intended to be created
# nothing to due but to retry soon
# was intended to be created,
# nothing to do but to retry soon
end
end
raise PoolRetryAttemptsExceeded.new
Expand Down

0 comments on commit ba73f09

Please sign in to comment.