Sha256: a0b576c20b0bea1f8b892c0cbbae9f3dc08f14407928ab540ec8410569cd8b2a
Contents?: true
Size: 475 Bytes
Versions: 11
Compression:
Stored size: 475 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 lock: :until_expired, unique_args: (lambda do |args| options = args.extract_options! options.delete('random') args + [options] end) end
Version data entries
11 entries across 11 versions & 1 rubygems