Sha256: 2b11213b79b945ce52ae52a23fa32f0c4b204d8434df1b3fc7866cfd2fba846c

Contents?: true

Size: 401 Bytes

Versions: 4

Compression:

Stored size: 401 Bytes

Contents

module Legion::Extensions::Scheduler
  module Transport
    module Queues
      class Schedule < Legion::Transport::Queue
        def queue_options
          {
            arguments: {
              'x-single-active-consumer': true,
              'x-max-priority': 255,
              'x-message-ttl': 5
            },
            auto_delete: false
          }
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lex-scheduler-0.1.3 lib/legion/extensions/scheduler/transport/queues/schedule.rb
lex-scheduler-0.1.2 lib/legion/extensions/scheduler/transport/queues/schedule.rb
lex-scheduler-0.1.1 lib/legion/extensions/scheduler/transport/queues/schedule.rb
lex-scheduler-0.1.0 lib/legion/extensions/scheduler/transport/queues/schedule.rb