Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
return [
|
||||
'default' => [
|
||||
'host' => getenv('REDIS_QUEUE_HOST'),
|
||||
'options' => [
|
||||
'auth' => getenv('REDIS_QUEUE_AUTH'),
|
||||
'db' => getenv('REDIS_QUEUE_DB'),
|
||||
'prefix' => getenv('REDIS_QUEUE_PREFIX'),
|
||||
'max_attempts' => getenv('REDIS_QUEUE_MAX_ATTEMPTS'),
|
||||
'retry_seconds' => getenv('REDIS_QUEUE_RETRY_SECONDS'),
|
||||
],
|
||||
// Connection pool, supports only Swoole or Swow drivers.
|
||||
'pool' => [
|
||||
'max_connections' => 5,
|
||||
'min_connections' => 1,
|
||||
'wait_timeout' => 3,
|
||||
'idle_timeout' => 60,
|
||||
'heartbeat_interval' => 50,
|
||||
]
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user