Sidekiq

0

require 'sidekiq/api'

https://stackoverflow.com/questions/12683222/are-there-console-commands-to-look-at-whats-in-the-queue-and-to-clear-the-queue

---
:verbose: false
:concurrency: 15
:max_retries: 3
:timeout: 25

# http://www.mikeperham.com/2013/11/13/advanced-sidekiq-host-specific-queues/
:queues:
  - urgent
  - default
  - mailers
  - action_mailbox_routing
  - action_mailbox_incineration
  - active_storage_analysis
  - active_storage_purge
  - low

Confirm these routes by calling:

ActiveStorage.queues
ActionMailbox.queues[:routing]
ActionMailbox.queues[:incineration]
Reschedule jobs
require 'sidekiq/api'
queue = Sidekiq::ScheduledSet.new
queue.each do |job| job.reschedule(Time.now + 1.minute) end

  • 0 posts
  • 0 subtopics
  • 25 days ago by vince