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

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.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest