Pergunta

Is there a way to set jobs in BJ and make sure that 2 of a certain "type" are not running concurrently?

We are running 24 unicorns and it will allow a BJ to startup for each one of those. This is not a big deal b/c we like multiple job handlers knocking out background task. The exception is a data import. We want to be able to tell it not to run more than one of those at a time.

Is this possible in BJ or should we just move over to something like resque?

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top