diff --git a/config/resque.php b/config/resque.php index 76bd51a..fa1ed30 100644 --- a/config/resque.php +++ b/config/resque.php @@ -4,20 +4,7 @@ return [ /* |-------------------------------------------------------------------------- - | Connection - |-------------------------------------------------------------------------- - | - */ - - 'connection' => [ - 'host' => env('RESQUE_REDIS_HOST', 'localhost'), - 'port' => env('RESQUE_REDIS_PORT', 6379), - 'database' => env('RESQUE_REDIS_DATABASE', 0), - ], - - /* - |-------------------------------------------------------------------------- - | Track Status + | Prefix |-------------------------------------------------------------------------- | */ diff --git a/src/ResqueServiceProvider.php b/src/ResqueServiceProvider.php index 16ae019..fb03d73 100644 --- a/src/ResqueServiceProvider.php +++ b/src/ResqueServiceProvider.php @@ -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;