Sha256: fc76f1af05bdedcddfd9823fdb9268b9d84deb41d00c27f603f8b51de012baff
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
module Sidekiq::Grouping::Config include ActiveSupport::Configurable def self.options Sidekiq.options["grouping"] || {} end # Queue size overflow check polling interval config_accessor :poll_interval do options[:poll_interval] || 3 end # Maximum batch size config_accessor :max_batch_size do options[:max_batch_size] || 1000 end # Batch queue flush lock timeout config_accessor :lock_ttl do options[:lock_ttl] || 1 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-grouping-1.0.9 | lib/sidekiq/grouping/config.rb |