Z5. Others - swooletw/laravel-swoole GitHub Wiki
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.