mercredi 12 août 2015

How to make Sidetiq tasks to run only in production?

We are using Sidekiq as our queue management system and Sidetiq to manage scheduled recurring tasks and it works quite well for us.

There is a slight issue through. There are tasks that we don't want to be run every time we start sidekiq queue locally to debug something. Is there way to make recurring Sidetiq tasks to be run only on production environment?

  • Ruby 2.1.6
  • Rails 3.2.22
  • Sidekiq v3.4.2

Aucun commentaire:

Enregistrer un commentaire