October CMS Async Queue is a wrapper for async queue from barryvdh/laravel-async-queue
What it is
Just like the 'sync' driver, this is not a real queue driver. It is always fired immediatly. The only difference is that the closure is sent to the background without waiting for the response. This package is more usable as an alternative for running incidental tasks in the background, without setting up a 'real' queue driver.
For implementation details look at barryvdh/laravel-async-queue
- Add Plugin
- Add async driver to your queue config in
'connections' => [ 'sync' => [ 'driver' => 'sync', ], 'async' => [ 'driver' => 'async', 'table' => 'jobs', 'queue' => 'default', 'expire' => 60, ], 'database' => [...] ....
- Change driver to async
by editing your .env and change driver to
QUEUE_DRIVER=asyncor by changing
config/queue.phpdefault driver to
- Rest works out of box
This plugin has not been reviewed yet.
Aug 22, 2017