Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Z5. Others

Weifeng edited this page Jun 25, 2019 · 3 revisions

Swoole Driver for Queue

This package provides Swoole's async task worker as Laravel's queue driver. You can easily set your queue driver to swoole.

queue.php

return [
    // ...
    'connections' => [
        // ...

        'swoole' => [
            'driver' => 'swoole'
        ],
    ],
    // ...
];

Your payload data will only exists in memory, and won't be saved in any persistent storage. You will lose your data once the process crashes.

← Q&A

Clone this wiki locally