From 0b06f3628aab5d7e632c00520e72b17a4ea5ef3c Mon Sep 17 00:00:00 2001 From: Glenn Carremans Date: Tue, 9 Apr 2019 21:20:13 +0200 Subject: [PATCH] Added warning message for --sleep --- queues.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/queues.md b/queues.md index ed152aa20ce..bcd774826d6 100644 --- a/queues.md +++ b/queues.md @@ -552,6 +552,8 @@ When jobs are available on the queue, the worker will keep processing jobs with php artisan queue:work --sleep=3 +> {note} The `--sleep` value should always be at least several seconds shorter than the `--timeout` value (default 60 seconds if not set). This will ensure that the child queue process isn't mistakenly being marked as frozen and removed. + ## Supervisor Configuration