<?php

return [
    'default' => [
        'password' => env('REDIS_PASSWORD', ''),
        'host' => env('REDIS_HOST', '127.0.0.1'),
        'port' => env('REDIS_PORT', 6379),
        'database' => env('REDIS_DB', 0),
        'pool' => [
            'max_connections' => (int) env('REDIS_POOL_MAX', 20),
            'min_connections' => (int) env('REDIS_POOL_MIN', 2),
            'wait_timeout' => (float) env('REDIS_POOL_WAIT_TIMEOUT', 1.0),
            'idle_timeout' => 60,
            'heartbeat_interval' => 50,
        ],
    ]
];