mirror of
https://github.com/idanoo/laravel-resque.git
synced 2025-07-01 11:02:14 +00:00
fix detect duplicate job
This commit is contained in:
parent
e230e66b48
commit
0663765b47
4 changed files with 14 additions and 18 deletions
|
@ -29,7 +29,7 @@ class ResqueServiceProvider extends ServiceProvider
|
|||
$config = $this->app['config']['resque.connection'];
|
||||
|
||||
$resque = new Resque();
|
||||
$resque->setBackend(implode(':', [$config['host'], $config['port']]), $config['db']);
|
||||
$resque->setBackend($config['server'], $config['db']);
|
||||
|
||||
return new ResqueManager($resque, $this->app['config']['resque.trackStatus']);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue