Managing dependencies of Sidekiq and Resque jobs