What is difference between perform_in and perform_async in sidekiq?

I want to update old sidekiq jobs with new time interval. How I can do this ? Is it possible through perform_in option. In addition I want to know clear difference between perform_in and perform_async.

1 Answer

You have to pass perform_in a time. perform_async gets pushed to the queue right away. Other than that they're the same. You'd call perform_in(10.minutes)

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like