提交 208911e4 编写于 作者: Y Yves Senn

Merge pull request #22449 from dnagir/database_connection_message

Explain the connection pool error message better [ci skip]
......@@ -197,7 +197,7 @@ def wait_poll(timeout)
elapsed = Time.now - t0
if elapsed >= timeout
msg = 'could not obtain a database connection within %0.3f seconds (waited %0.3f seconds)' %
msg = 'could not obtain a connection from the pool within %0.3f seconds (waited %0.3f seconds); all pooled connections were in use' %
[timeout, elapsed]
raise ConnectionTimeoutError, msg
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册