Skip to content

Commit

Permalink
Invoke perform_async via the worker class (#518)
Browse files Browse the repository at this point in the history
Fixes #517
  • Loading branch information
archaeologistdev authored and phstc committed Oct 1, 2018
1 parent 9e14f69 commit bdc29b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shoryuken/worker/inline_executor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def perform_async(worker_class, body, _options = {})
end

def perform_in(worker_class, _interval, body, options = {})
perform_async(worker_class, body, options)
worker_class.perform_async(body, options)
end

private
Expand Down

0 comments on commit bdc29b6

Please sign in to comment.