prefix settable

This commit is contained in:
Holger Reinhardt 2016-07-29 18:04:55 +02:00
parent 9e7b3a658e
commit 0519a18b38

View File

@ -34,7 +34,8 @@ class ResqueServiceProvider extends ServiceProvider
protected function registerResque() protected function registerResque()
{ {
$this->app->singleton('resque', function () { $this->app->singleton('resque', function () {
return new Resque(); $prefix = $connection = $this->app['config']['resque.prefix'];
return (new Resque())->setPrefix($prefix);
}); });
} }