Skip to content

Commit 676bc34

Browse files
committed
Add $dispatchAfterCommit when running via custom worker (vyuldashev#513)
Fix from: vyuldashev#513
1 parent a83eff9 commit 676bc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Queue/Connectors/RabbitMQConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function createQueue(
9797
case 'horizon':
9898
return new HorizonRabbitMQQueue($connection, $queue, $dispatchAfterCommit, $options);
9999
default:
100-
return new $worker($connection, $queue, $options);
100+
return new $worker($connection, $queue, $dispatchAfterCommit, $options);
101101
}
102102
}
103103

0 commit comments

Comments
 (0)