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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jobqueue.test | 1.36 KB | dopry |
| job_queue-queues.patch | 2.72 KB | dopry |
Comments
Comment #1
dopry commentedhere is a .test file for it as well if you wish to slap in a hook_simpletest.
Comment #2
mustafau commentedInstead of a numeric identifier I suggest using a human readable string identifier.
Comment #3
drummI 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.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.