daison12006013 / laravel-horizon-cluster

A laravel horizon with redis cluster support
MIT License
9 stars 4 forks source link

database config nesting issue #7

Open jayenne opened 3 months ago

jayenne commented 3 months ago

🙏 thank you.

It looks like your dataase example is nested one level too deeply and should be as follow...

'default' => [
    'host'     => env('REDIS_HOST', '127.0.0.1'),
    'port'     => env('REDIS_PORT', '6379'),
    'username' => env('REDIS_USERNAME', null),
    'password' => env('REDIS_PASSWORD', null),
    'database' => 0,
],
daison12006013 commented 3 months ago

Refer to this https://laravel.com/docs/11.x/redis#clusters