548

Product support

Get help in the plugin support forum.

  • Added on Aug 25, 2017
  • Current version: 1.0.1
  • Platform Compatibility
    v3.x not tested
    v2.x not tested
    v1.x use latest
  • Created by

Categories

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.1

Bumping barryvdh/laravel-async-queue to the latest 0.7.* version.

Apr 09, 2019

1.0.0

Initialize plugin.

Aug 22, 2017