Sha256: 10269d0b23396fb8e4b5529e71782a24d9b7c9b995bce07a4c0120612feb52cd

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

module BunnyCarrot
  module Strategy
    class RestartAndDrop < RestartAndBlock
      def perform
        super
        unless restart_attempts_left?
          logger.info 'No attempts left to restart, dropping message...'
          acknowledge
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bunny_carrot-0.0.2 lib/bunny_carrot/strategy/restart_and_drop.rb