Sha256: d11c4dc475560b234a5301740fa4261fbe5cb7014f902eecc264f18b623d6006
Contents?: true
Size: 477 Bytes
Versions: 6
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true # :nocov: require_relative './custom_queue_job' class CustomQueueJobWithFilterProc < CustomQueueJob # slightly contrived example of munging args to the # worker and removing a random bit. sidekiq_options unique: :until_expired, unique_args: (lambda do |args| options = args.extract_options! options.delete('random') args + [options] end) end
Version data entries
6 entries across 6 versions & 1 rubygems