1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- declare(strict_types=1);
- use Hyperf\AsyncQueue\Driver\RedisDriver;
- return [
- 'default' => [
- 'driver' => RedisDriver::class,
- 'redis' => [
- 'pool' => 'default',
- ],
- 'channel' => '{gatherList}',
- 'timeout' => 2,
- 'retry_seconds' => 5,
- 'handle_timeout' => 10,
- 'processes' => 1,
- 'concurrent' => [
- 'limit' => 10,
- ],
- 'max_messages' => 0,
- ],
- 'import' => [
- 'driver' => RedisDriver::class,
- 'redis' => [
- 'pool' => 'default'
- ],
- 'channel' => '{importList}',
- 'timeout' => 2,
- 'retry_seconds' => 5,
- 'handle_timeout' => 10,
- 'processes' => 1,
- 'concurrent' => [
- 'limit' => 5,
- ],
- ],
- ];
|