From 719fc32d9bb3d17054682cba3d84082443ab2e0a Mon Sep 17 00:00:00 2001 From: Jonathan Martins Date: Sat, 25 Feb 2023 12:18:09 -0300 Subject: [PATCH] docs updated --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b5322c..3c3112c 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ If you want to push the job to a different queue, you can pass a string as a par The following methods are available too, for further configuration if needed: - `onConnection(string $connection)` - `onQueue(string $queue)` +- `timeout(int $timeoutInSeconds)` - `delay($delay)` - `tries($tries)` @@ -92,7 +93,8 @@ JobPipeline::make([ })->shouldBeQueued(true) ->onConnection('connection-different-from-default') ->onQueue('queue-different-from-default') - ->delay(5) + ->timeout(180) + ->delay(15) ->tries(2); ```