Skip to content

Commit 274edbb

Browse files
committed
Add $dispatchAfterCommit when running via custom worker (vyuldashev#513)
Fix from: vyuldashev#513
1 parent d20f624 commit 274edbb

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
@@ -106,7 +106,7 @@ protected function createQueue(
106106
case 'horizon':
107107
return new HorizonRabbitMQQueue($connection, $queue, $dispatchAfterCommit, $options);
108108
default:
109-
return new $worker($connection, $queue, $options);
109+
return new $worker($connection, $queue, $dispatchAfterCommit, $options);
110110
}
111111
}
112112

0 commit comments

Comments
 (0)