<?php

declare(strict_types=1);

return [
    'default' => [
        'host' => env('REDIS_HOST', 'host.docker.internal'),
        'auth' => (env('REDIS_AUTH') ?: env('REDIS_PASSWORD')) ?: null,
        'port' => (int) env('REDIS_PORT', 5433),
        'db' => (int) env('REDIS_DB', 0),
        'pool' => [
            'min_connections' => 1,
            'max_connections' => 10,
            'connect_timeout' => 10.0,
            'wait_timeout' => 3.0,
            'heartbeat' => -1,
            'max_idle_time' => (float) env('REDIS_MAX_IDLE_TIME', 60),
        ],
    ],

    
];

