Background Queue

Component ID

2639486

Component name

Background Queue

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Module allows process all Queue items in one time. It is similar to Batch API behavior, but only for Queue API.

Example — you have 1000 items in test_queue, and do you want process all items in one time without server limits (max_execution time, etc). Enough in any code place execute

background_queue_run('test_queue');

and it's all!. If you want to run queue from hook_cron(), execute

background_queue_run_from_cron('test_queue');

Module use async http requests for process Queue.