Skip to content

v7.0.0.beta15 Can't push new jobs to queue #501

@eni9889

Description

@eni9889

Describe the bug
After some time I am now unable to push any new jobs to a queue. I see no debug messages. When I call perform_asyc on the unique worker I get back a digest but no job is added to the queue. The issue continues even if I remove the lock param from the worker config. The only way to get things working is to change the name of the queue the worker is sending jobs to.

Expected behavior
Push new jobs to the queue

Current behavior
Can't push new jobs

Worker class

class Cache::UpdateShopNotificationsWorker
  include Sidekiq::Worker

  sidekiq_options queue: "#{::ActiveJob::Base.queue_name_prefix}#{::ActiveJob::Base.queue_name_delimiter}notification_events_cache",
                  retry: 3,
                  lock:  :until_executed

    def perform(*object_id)
    end
end

Digest entries are empty when running

SidekiqUniqueJobs::Digests.new.entries

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions