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

Let's solve your hard problems

Martians at a glance
18
years in business

We're experts at helping developer products grow, with a proven track record in UI design, product iterations, cost-effective scaling, and much more. We'll lay out a strategy before our engineers and designers leap into action.

If you prefer email, write to us at surrender@evilmartians.com