Skip to content

Commit aaf8e84

Browse files
committed
fallbackConnection
1 parent 62bb60c commit aaf8e84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/AbstractJob.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ final public function dispatch($delaySeconds = 0)
8383
continue;
8484
}
8585

86+
if ($fallbackConnection === 'database') {
87+
$this->onQueue('default');
88+
}
89+
8690
try {
8791
$this->onConnection($fallbackConnection);
8892
$dispatcher = app(Dispatcher::class);

0 commit comments

Comments
 (0)