This patch adds multiple queues to job queue by adding a 'queue' column to the job_queue table, and a 'queue' argument to both job_queue_add and job_queue_dequeue.

CommentFileSizeAuthor
#1 jobqueue.test1.36 KBdopry
job_queue-queues.patch2.72 KBdopry

Comments

dopry’s picture

StatusFileSize
new1.36 KB

here is a .test file for it as well if you wish to slap in a hook_simpletest.

mustafau’s picture

Instead of a numeric identifier I suggest using a human readable string identifier.

drumm’s picture

Status: Needs review » Fixed

I committed a patch to treat each function as a separate "queue." Each function describe in a hook_job_queue_functions() can be prioritized or stopped.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.