Sha256: cce57eb3fab0f6d9b54ca46426b9e8840993f0d54238fe108407c0e4a6435a3d

Contents?: true

Size: 785 Bytes

Versions: 1

Compression:

Stored size: 785 Bytes

Contents

require 'servitude'

module RabbitWQ
  class Configuration < Servitude::Configuration

    def self.defaults
      {
        delayed_exchange_prefix: 'work-delay',
        delayed_queue_prefix: 'work-delay',
        env: 'production',
        error_queue: 'work-error',
        log: "/var/log/rabbit-wq/#{RabbitWQ.process_name}.log",
        log_level: 'info',
        pid: "/var/run/rabbit-wq/#{RabbitWQ.process_name}.pid",
        supervision_retry_timeout_in_seconds: 1,
        threads: 1,
        time_zone: 'UTC',
        work_exchange: 'work',
        work_exchange_type: 'fanout',
        work_log_level: 'info',
        work_log_path: '/var/log/rabbit-wq/rabbit-wq-work.log',
        work_publish_queue: 'work',
        work_subscribe_queue: 'work'
      }
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rabbit-wq-2.0.0 lib/rabbit_wq/configuration.rb