You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, the code snippet from readme does not seem to work:
Sidekiq.default_worker_options = {
'unique' => true,
'unique_args' => proc do |args|
[args.first.except('job_id')]
end
}
SidekiqUniqueJobs.config.unique_args_enabled = true
Short investigation showed, that during UniqueArgs initialization, on line: @item['unique_args'.freeze] ||= unique_args(@item['args'.freeze])
The Proc is not executed, and gem just assumes that Proc object is an unique argument itself.
The text was updated successfully, but these errors were encountered:
Hello, the code snippet from readme does not seem to work:
Short investigation showed, that during UniqueArgs initialization, on line:
@item['unique_args'.freeze] ||= unique_args(@item['args'.freeze])
The Proc is not executed, and gem just assumes that Proc object is an unique argument itself.
The text was updated successfully, but these errors were encountered: