Skip to content

Commit

Permalink
use callAfterResolving to register QueueManager (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdullahsari committed Oct 19, 2021
1 parent 640df7c commit b422316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HorizonServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ protected function registerServices()
*/
protected function registerQueueConnectors()
{
$this->app->resolving(QueueManager::class, function ($manager) {
$this->callAfterResolving(QueueManager::class, function ($manager) {
$manager->addConnector('redis', function () {
return new RedisConnector($this->app['redis']);
});
Expand Down

0 comments on commit b422316

Please sign in to comment.