Update queues.md

This commit is contained in:
Taylor Otwell 2018-04-07 14:57:29 -05:00 committed by GitHub
parent 5f32644428
commit e77595e14d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ The `retry_after` configuration option and the `--timeout` CLI option are differ
#### Worker Sleep Duration
When jobs are available on the queue, the worker will keep processing jobs with no delay in between them. However, the `sleep` option determines how long in seconds the worker will "sleep" if there are no new jobs available. While sleeping, the worker will not process any new jobs - the jobs will be processed after the worker wakes up again.
When jobs are available on the queue, the worker will keep processing jobs with no delay in between them. However, the `sleep` option determines how long (in seconds) the worker will "sleep" if there are no new jobs available. While sleeping, the worker will not process any new jobs - the jobs will be processed after the worker wakes up again.
php artisan queue:work --sleep=3