TenjinInc / procrastinator

Delayed task queues made simple.
https://rubygems.org/gems/procrastinator
MIT License
4 stars 0 forks source link

Double queue workers #12

Open robinetmiller opened 8 years ago

robinetmiller commented 8 years ago

If restarting app, the main process will die, and then main-prime would start its own workers.

Because of the heartbeat delay, there could be a short period with two QueueWorker processes for the same queue.

robinetmiller commented 8 years ago

Either this can be solved with a locking mechanism, or by main-prime checking for workers with the appropriate name (or recorded pids), and destroying them.

robinetmiller commented 6 years ago

See #23