Exception: Sqlx::ConnectionTimeout
- Defined in:
- runtime/sqlx/errors.rb,
runtime/sqlx/errors.rbs
Overview
Raised when a connection-pool checkout could not get a connection inside the adapter's wait budget. The statement did not run, so the caller may retry the unit; a request that keeps hitting it needs a larger pool or a shorter transaction, not a longer wait.
Instance Method Summary collapse
-
#initialize(message = "Sqlx::ConnectionTimeout") ⇒ ConnectionTimeout
constructor
A new instance of ConnectionTimeout.
Constructor Details
#initialize(message = "Sqlx::ConnectionTimeout") ⇒ ConnectionTimeout
Returns a new instance of ConnectionTimeout.
19 |
# File 'runtime/sqlx/errors.rbs', line 19
def initialize: (?String message) -> void
|