diff --git a/app/init.php b/app/init.php index d4a3dce8fa..b9918574bc 100644 --- a/app/init.php +++ b/app/init.php @@ -164,7 +164,7 @@ $register->set('statsd', function () { // Register DB connection }); $register->set('cache', function () { // Register cache connection $redis = new Redis(); - $redis->pconnect(App::getEnv('_APP_REDIS_HOST', ''), + $redis->pconnect(App::getEnv('_APP_REDIS_HOST', '', 2.5), App::getEnv('_APP_REDIS_PORT', '')); return $redis;