Commit 52283274 authored by John Long's avatar John Long

Fix use of redis, now actually using phpredis and persistent connections

Related to #14
parent 8f8b83a6
Pipeline #63413273 passed with stages
in 2 minutes and 32 seconds
......@@ -102,6 +102,11 @@ $app->router->group([
});
config([
'database.redis.client' => 'phpredis',
'database.redis.default.persistent' => true,
'database.redis.default.persistent_id' => config('database.redis.default.host'),
'database.redis.cache.persistent' => true,
'database.redis.cache.persistent_id' => config('database.redis.cache.host'),
'services' => [
'stitcher' => [
'url' => env('STITCHER_URL', 'https://stitcher.com/Service/'),
......@@ -115,8 +120,4 @@ config([
],
]);
config('database.redis.client', 'phpredis');
config('database.redis.default.persistent', true);
config('database.redis.cache.persistent', true);
return $app;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment