Sha256: 9abb07b41671faa16caf6903d46d59006e1be73c0685d081ee3961fbfdf7de0a
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
require 'yaml' if RUBY_VERSION.include?('2.0.0') require 'sidekiq_unique_jobs/middleware' require 'sidekiq_unique_jobs/version' require 'sidekiq_unique_jobs/config' require 'sidekiq_unique_jobs/payload_helper' require 'ostruct' module SidekiqUniqueJobs module_function def config @config ||= Config.new( unique_prefix: 'sidekiq_unique', unique_args_enabled: false, default_expiration: 30 * 60, default_unlock_order: :after_yield ) end def unique_args_enabled? config.unique_args_enabled end def configure yield configuration end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-3.0.5 | lib/sidekiq_unique_jobs.rb |