Sneakers gem: where do you put your workers so they get picked up automatically?

后端 未结 0 1990
南旧
南旧 2021-02-12 10:53

I am trying to create a sneakers worker:

# app/workers/my_worker.rb
require "sneakers"
class MyWorker
  include Sneakers::Worker
  from_queue "MyQu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题