Sha256: fa28b331f6e05a1d87bec5cddcb2cc13e331dd24902e187ee4c7c0f29239e4b4

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

module Legion::Extensions::Tasker
  module Transport
    module Queues
      class FetchDelayed < Legion::Transport::Queue
        def queue_name
          'task.fetch_delayed'
        end

        def queue_options
          {
            arguments: {
              'x-single-active-consumer': true,
              'x-max-priority':           255,
              'x-message-ttl':            1
            }
          }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lex-tasker-0.2.1 lib/legion/extensions/tasker/transport/queues/fetch_delayed.rb
lex-tasker-0.2.0 lib/legion/extensions/tasker/transport/queues/fetch_delayed.rb