Skip to content

Commit 73f31ba

Browse files
authored
Merge pull request #626 from fontebasso/feat-json-flag-rabbitmq-consume
Add --json support to rabbitmq:consume and align option order
2 parents 26b9537 + 6faa83a commit 73f31ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Console/ConsumeCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ class ConsumeCommand extends WorkCommand
2121
{--force : Force the worker to run even in maintenance mode}
2222
{--memory=128 : The memory limit in megabytes}
2323
{--sleep=3 : Number of seconds to sleep when no job is available}
24+
{--rest=0 : Number of seconds to rest between jobs}
2425
{--timeout=60 : The number of seconds a child process can run}
2526
{--tries=1 : Number of times to attempt a job before logging it failed}
26-
{--rest=0 : Number of seconds to rest between jobs}
27+
{--json : Output the queue worker information as JSON}
2728
2829
{--max-priority=}
2930
{--consumer-tag}

0 commit comments

Comments
 (0)