Exception: DerivativeRodeo::Errors::MaxQueueSize
- Defined in:
- lib/derivative_rodeo/errors.rb
Overview
Raised when a storage adapter is called for but does not exist in the registered adapter list
Instance Method Summary collapse
-
#initialize(batch_size:) ⇒ MaxQueueSize
constructor
A new instance of MaxQueueSize.
Constructor Details
#initialize(batch_size:) ⇒ MaxQueueSize
Returns a new instance of MaxQueueSize.
30 31 32 |
# File 'lib/derivative_rodeo/errors.rb', line 30 def initialize(batch_size:) super("Batch size #{batch_size} is larger than the max queue size #{DerivativeRodeo.config.aws_sqs_max_batch_size}") end |