Sha256: 3c77eb6afb9adb945602d9abe0c0eb2ab4f6bb1e4d92a459fb9907705229bd9e
Contents?: true
Size: 303 Bytes
Versions: 20
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true module SidekiqHelpers def clear_sidekiq_jobs_and_locks # Drop sidekiq-unique-jobs locks MOCK_REDIS.keys.each do |key| MOCK_REDIS.del(key) end # Clear sidekiq queues and workers Sidekiq::Queues.clear_all Sidekiq::Worker.clear_all end end
Version data entries
20 entries across 20 versions & 1 rubygems