Module: SidekiqSpread

Defined in:
lib/sidekiq_spread.rb,
lib/sidekiq_spread/version.rb

Overview

Helpers to spread worker load out over a period of time

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

PERFORM_SPREAD_OPTS =
%i[
  duration
  in
  at
  method
  mod_value
].map { |o| "spread_#{o}".to_sym }.freeze
VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


16
17
18
# File 'lib/sidekiq_spread.rb', line 16

def self.included(base)
  base.extend(ClassMethods)
end