#253

Product support

Get help in the plugin support forum.

  • Added on Aug 25, 2017
  • Current version: 1.0.0
  • License: MIT
  • Created by

Categories

  • Utility

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

  1. Add Plugin
  2. 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

  1. Change driver to async by editing your .env and change driver to QUEUE_DRIVER=async or by changing config/queue.php default driver to async.
  2. Rest works out of box
1.0.0

Initialize plugin.

Aug 22, 2017