| 123456789101112131415161718192021222324252627 | 
							- <?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
 
-  */
 
- return [
 
-     'default' => [
 
-         'host' => env('REDIS_HOST', 'localhost'),
 
-         'auth' => env('REDIS_AUTH', 'redispwd'),
 
-         'port' => (int) env('REDIS_PORT', 6379),
 
-         'db' => (int) env('REDIS_DB', 1),
 
-         'pool' => [
 
-             'min_connections' => 1,
 
-             'max_connections' => 1000,
 
-             'connect_timeout' => 10.0,
 
-             'wait_timeout' => 3.0,
 
-             'heartbeat' => -1,
 
-             'max_idle_time' => (float) env('REDIS_MAX_IDLE_TIME', 60),
 
-         ],
 
-     ],
 
- ];
 
 
  |