Skip to content
Extraits de code Groupes Projets
inlined_jobs.rb 156 octets
Newer Older
Jonne Haß's avatar
Jonne Haß a validé
module HelperMethods
  def inlined_jobs
    Sidekiq::Worker.clear_all
    result = yield Sidekiq::Worker
    Sidekiq::Worker.drain_all
    result
  end
end