mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-24 01:15:19 +00:00
Merge branch 'release/0.2.0'
This commit is contained in:
commit
61a27ddb7d
@ -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
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
*/
|
||||
|
@ -48,7 +48,7 @@ class ResqueServiceProvider extends ServiceProvider
|
||||
|
||||
protected function setRedisConfig()
|
||||
{
|
||||
$config = $this->app['config']['resque.connection'];
|
||||
$config = $this->app['config']['database.redis.default'];
|
||||
|
||||
$host = isset($config['host']) ? $config['host'] : 'localhost';
|
||||
$port = isset($config['port']) ? $config['port'] : 6379;
|
||||
|
Loading…
Reference in New Issue
Block a user