Don't retry sidekiq jobs

parent e1d9f52e
Pipeline #168 passed with stage
in 1 minute and 39 seconds
class DeliverWorker
include Sidekiq::Worker
sidekiq_options do |job|
job.retry = false
def perform(domain : String, request_body : String)
inbox_url = PubRelay.redis.hget("subscription:#{domain}", "inbox_url")
return unless inbox_url
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment