Merge branch 'master' of git@github.com:rails/rails

This commit is contained in:
Jeremy Kemper
2008-09-04 17:20:24 +02:00

View File

@@ -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