sidekiq-postpone

Services & Skills

Share on

Typical use-case is with database transactions:

Sidekiq::Postpone.wrap do
  ActiveRecord::Base.transaction do
    # ...
    post = Post.create(params)
    ImageProcess.perform_async(post.image)
  end
end
# In fact, ImageProcess job will be pushed to the queue only after the `wrap { ... }` block finishes.
Author

In the same orbit

Explore more open source projects

Contact us

We’d love to hear from you! We’re not really all that evil, and we love discussing potential projects, intriguing ideas, and new opportunities. Complete the form below or drop us a line at surrender@evilmartians.com.

Martians at a glance
16
years in business

A product development consultancy that works with startups and established businesses, while also creating open source-based products and services