[Backgroundrb-devel] best approach to managing workers and getting status
gethemant at gmail.com
Wed Jul 16 14:17:09 EDT 2008
On Wed, Jul 16, 2008 at 1:24 PM, Steve D <swertyui at gmail.com> wrote:
> Would bdrb's queueing mechanism allow for prioritizing of tasks?
> I have a few long-running low priority tasks that I'd want to run on the
> condition that no high priority tasks are in the queue.
> Jack's solution makes sense to my newbie brain, each time my
> queue_processing_worker accesses the table, it can sort unprocessed tasks by
> priority and begin from there. But I'd rather stick to bdrb convention if
> it's inbuilt already.
No, it can't right now. But, it should be trivial to add such
functionality, I welcome a patch.
More information about the Backgroundrb-devel