mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Merge branch 'master' of git@github.com:rails/rails
This commit is contained in:
@@ -145,7 +145,7 @@ module ActiveRecord
|
||||
if @queue.wait(@timeout)
|
||||
checkout_existing_connection
|
||||
else
|
||||
raise ConnectionTimeoutError, "could not obtain a database connection in a timely fashion"
|
||||
raise ConnectionTimeoutError, "could not obtain a database connection within #{@timeout} seconds. The pool size is currently #{@size}, perhaps you need to increase it?"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user