self.backpressure_option

in lib/aws/active_job/sqs/cli_options.rb [82:91]


        def self.backpressure_option(opts, out)
          doc = 'The maximum number of messages to have waiting in ' \
                'the Executor queue. This should be a low, but non zero number.  ' \
                'Messages in the Executor queue cannot be picked up by other ' \
                'processes and will slow down shutdown.'
          opts.on('-b', '--backpressure INTEGER', Integer, doc) do |a|
            out[:backpressure] = a
          end
        end