mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
f89eedf326
This makes job processing synchronous when required.
9 lines
146 B
Ruby
9 lines
146 B
Ruby
module Sidekiq
|
|
module Worker
|
|
module ClassMethods
|
|
def perform_async(*args)
|
|
self.new.perform(*args)
|
|
end
|
|
end
|
|
end
|
|
end
|