Skip to content

Commit

Permalink
bring --daemon option back
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Mar 10, 2020
1 parent 59b97d2 commit 24c1818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Queue/Console/WorkCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class WorkCommand extends Command
protected $signature = 'queue:work
{connection? : The name of the queue connection to work}
{--queue= : The names of the queues to work}
{--daemon : Run the worker in daemon mode (Deprecated)}
{--once : Only process the next job on the queue}
{--stop-when-empty : Stop when the queue is empty}
{--delay=0 : The number of seconds to delay failed jobs}
Expand Down

3 comments on commit 24c1818

@dwightwatson
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity what was the reasoning behind bringing this back, despite it being deprecated so long?

@halaei
Copy link
Contributor

@halaei halaei commented on 24c1818 Mar 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwightwatson I am not sure. Maybe Laravel Forge users

@themsaid
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it's mainly for people who still have workers running with --daemon flag.

Please sign in to comment.