Skip to content

Commit 0ff9011

Browse files
committed
Update Stop When Empty
1 parent 96301f8 commit 0ff9011

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Console/Commands/WorkCommand.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ class WorkCommand extends LaravelWorkCommand
1313
* @var string
1414
*/
1515
protected $signature = 'queue-manager:work
16-
{connection? : The name of connection}
17-
{--queue= : The queue to listen on}
16+
{connection? : The name of the queue connection to work}
17+
{--queue= : The names of the queues to work}
1818
{--daemon : Run the worker in daemon mode (Deprecated)}
1919
{--once : Only process the next job on the queue}
20-
{--delay=0 : Amount of time to delay failed jobs}
20+
{--stop-when-empty : Stop when the queue is empty}
21+
{--delay=0 : The number of seconds to delay failed jobs}
2122
{--force : Force the worker to run even in maintenance mode}
2223
{--memory=128 : The memory limit in megabytes}
2324
{--sleep=3 : Number of seconds to sleep when no job is available}

0 commit comments

Comments
 (0)