Module: ActiveRecord
- Defined in:
- lib/aws_sqs_moniter/monkey_patches/forbid_implicit_active_record_connection_checkout.rb
Defined Under Namespace
Classes: Base
Constant Summary collapse
- ImplicitConnectionForbiddenError =
We’re refusing to give a connection when asked for. Same outcome as if the pool timed out on checkout, so let’s subclass the exception used for that.
Class.new(::ActiveRecord::ConnectionTimeoutError)