Sha256: f58adfefdbb0cdc1d864a6751360f738eaeaba8a8aa29a4b66cf1595a9a0ceb0

Contents?: true

Size: 370 Bytes

Versions: 6

Compression:

Stored size: 370 Bytes

Contents

module RooOnRails
  module Sidekiq
    class Settings
      def self.queues
        %w(
          monitoring
          realtime
          within1minute
          within5minutes
          within30minutes
          within1hour
          within1day
        ).freeze
      end

      def self.concurrency
        ENV.fetch('SIDEKIQ_THREADS', 25)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
roo_on_rails-1.7.0 lib/roo_on_rails/sidekiq/settings.rb
roo_on_rails-1.6.0 lib/roo_on_rails/sidekiq/settings.rb
roo_on_rails-1.5.0 lib/roo_on_rails/sidekiq/settings.rb
roo_on_rails-1.4.0 lib/roo_on_rails/sidekiq/settings.rb
roo_on_rails-1.3.1 lib/roo_on_rails/sidekiq/settings.rb
roo_on_rails-1.3.0 lib/roo_on_rails/sidekiq/settings.rb