Sha256: bd8c4db2e38e982f21b89a36148e29664da35db5c84b648de10267d9c90d1447
Contents?: true
Size: 536 Bytes
Versions: 2
Compression:
Stored size: 536 Bytes
Contents
# frozen_string_literal: true require "sidekiq" require_relative "periodic_pause" require_relative "periodic_run" module Sidekiq module Belt module Ent module Files def self.use!(options = [:all]) return unless Sidekiq.ent? all = options.include?(:all) Sidekiq::Belt::Ent::PeriodicPause.use! if all || options.include?(:periodic_pause) Sidekiq::Belt::Ent::PeriodicRun.use! if all || options.include?(:periodic_run) true end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-belt-0.3.1 | lib/sidekiq/belt/ent/files.rb |
sidekiq-belt-0.3.0 | lib/sidekiq/belt/ent/files.rb |