Laravel package to provide swoole redis pool integration,laravel redis pool cache and session driver. Aims to avoid redis server timeout exception
falcolee/laravel-swoole-redis is a Laravel package for laravel package to provide swoole redis pool integration,laravel redis pool cache and session driver. aims to avoid redis server timeout exception.
It currently has 12 GitHub stars and 596 downloads on Packagist (latest version 0.0.1).
Install it with composer require falcolee/laravel-swoole-redis.
Discover more Laravel packages by falcolee
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package to provide swoole redis pool integration,laravel redis pool cache and session driver. Aims to avoid redis server timeout exception
public $config = [
//min 3
'poolMin' => 3,
//max 1000
'poolMax' => 64,
//when lost connection retry
'retryTimes' => 2,
//options config
'connect_timeout' => 1,
'timeout' => 1,
'reconnect' => 1
];
composer require falcolee/laravel-swoole-redis
'redis_pool' => [
'driver' => 'redis',
'connection' => 'default',
],
in your config/cache.php stores section below redis array
redis_pool in your .env file , that is it