标签: ruby-on-rails sidekiq
E.g。 SidekiqWorker需要立即执行,而不是SidekiqWorker.perform_async。
SidekiqWorker
SidekiqWorker.perform_async
如何同步执行(执行,运行)sidekiq job(worker)(立即,现在,没有延迟)?
答案 0 :(得分:56)
SidekiqWorker.new.perform
瞧!