Scheduled queue

Categories

Component ID

2859220

Component name

Scheduled queue

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Adds a new type of queue: Scheduled Queue, where a developer can set a time after which an item will be executed.

Usefull for example in case of external webAPI calls where some data must be processed and we have to wait some time after we make the next check, with the default DatabaseQueue queue this'd mean processing and adding items to a queue a lot of times untill the certain time would be reached.

config:

in settings.php

$settings['queue_service_{queue-id}'] = 'queue.scheduled';

will ensure that the queue will use the ScheduledQueue class.