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.
More Information
About the implementation, queues
For implementation details look at barryvdh/laravel-async-queue
Installation
- Add Plugin
- Add async driver to your queue config in
config/queue.php
'connections' => [ 'sync' => [ 'driver' => 'sync', ], 'async' => [ 'driver' => 'async', 'table' => 'jobs', 'queue' => 'default', 'expire' => 60, ], 'database' => [...] ....
Usage
- Change driver to async
by editing your .env and change driver to
QUEUE_DRIVER=async
or by changingconfig/queue.php
default driver toasync
. - Rest works out of box
-
This plugin has not been reviewed yet.
-
1.0.1 |
Bumping barryvdh/laravel-async-queue to the latest 0.7.* version. Apr 09, 2019 |
---|---|
1.0.0 |
Initialize plugin. Aug 22, 2017 |