Sha256: 5336f2e8ebe2617f406fc6d3d68f074460efffc87d6293da7285b2dc3e7ea9d1
Contents?: true
Size: 247 Bytes
Versions: 2
Compression:
Stored size: 247 Bytes
Contents
# frozen_string_literal: true require 'timeout' module SidekiqUniqueJobs module Timeout def using_timeout(value) ::Timeout.timeout(value) do yield end end end end require 'sidekiq_unique_jobs/timeout/calculator'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-6.0.0.rc2 | lib/sidekiq_unique_jobs/timeout.rb |
sidekiq-unique-jobs-6.0.0.rc1 | lib/sidekiq_unique_jobs/timeout.rb |