mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-21 16:11:59 +00:00
Use redis database config for connection
This commit is contained in:
parent
4f6904cf04
commit
fb590948aa
@ -48,7 +48,7 @@ class ResqueServiceProvider extends ServiceProvider
|
|||||||
|
|
||||||
protected function setRedisConfig()
|
protected function setRedisConfig()
|
||||||
{
|
{
|
||||||
$config = $this->app['config']['redis.default'];
|
$config = $this->app['config']['database.redis.default'];
|
||||||
|
|
||||||
$host = isset($config['host']) ? $config['host'] : 'localhost';
|
$host = isset($config['host']) ? $config['host'] : 'localhost';
|
||||||
$port = isset($config['port']) ? $config['port'] : 6379;
|
$port = isset($config['port']) ? $config['port'] : 6379;
|
||||||
|
Loading…
Reference in New Issue
Block a user