Use redis config for connection

This commit is contained in:
Holger Reinhardt 2016-08-01 09:46:16 +02:00
parent e4344b93bc
commit 4f6904cf04
2 changed files with 2 additions and 15 deletions

View file

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