From fb590948aac0abda7f233919409854607901f5d4 Mon Sep 17 00:00:00 2001 From: Holger Reinhardt Date: Mon, 1 Aug 2016 09:54:54 +0200 Subject: [PATCH] Use redis database config for connection --- src/ResqueServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResqueServiceProvider.php b/src/ResqueServiceProvider.php index fb03d73..5629c44 100644 --- a/src/ResqueServiceProvider.php +++ b/src/ResqueServiceProvider.php @@ -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;