self.shutdown_timeout_option

in lib/aws/active_job/sqs/cli_options.rb [53:61]


        def self.shutdown_timeout_option(opts, out)
          doc = 'The amount of time to wait for a clean shutdown.  Jobs that ' \
                'are unable to complete in this time will not be deleted from ' \
                'the SQS queue and will be retryable after the visibility timeout.'
          opts.on('-s', '--shutdown_timeout INTEGER', Integer, doc) do |a|
            out[:shutdown_timeout] = a
          end
        end