<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
use Hyperf\AsyncQueue\Driver\RedisDriver;

return [
    'default' => [
        'driver' => RedisDriver::class,
        'redis' => [
            'pool' => 'default',
        ],
        'channel' => '{gather}',
        'timeout' => 2000,
        'retry_seconds' => [1,5,10,20],
        'handle_timeout' => 10000,
        'processes' => 1,
        'concurrent' => [
            'limit' => 15,
        ],
        'max_messages' => 0,
    ],
];
