Skip to content

Commit 4846e5f

Browse files
authored
[9.x] Apply force flag when necessary (#44862)
* fix: #44861 apply force flag when necessary * style: quote
1 parent 3c5bdfd commit 4846e5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Queue/Listener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ protected function createCommand($connection, $queue, ListenerOptions $options)
157157
"--memory={$options->memory}",
158158
"--sleep={$options->sleep}",
159159
"--tries={$options->maxTries}",
160+
$options->force ? '--force' : null,
160161
], function ($value) {
161162
return ! is_null($value);
162163
});

0 commit comments

Comments
 (0)