Use redis database config for connection

This commit is contained in:
Holger Reinhardt 2016-08-01 09:54:54 +02:00
parent 4f6904cf04
commit fb590948aa

View File

@ -48,7 +48,7 @@ class ResqueServiceProvider extends ServiceProvider
protected function setRedisConfig()
{
$config = $this->app['config']['redis.default'];
$config = $this->app['config']['database.redis.default'];
$host = isset($config['host']) ? $config['host'] : 'localhost';
$port = isset($config['port']) ? $config['port'] : 6379;