1
0
Fork 0
mirror of https://github.com/archtechx/jobpipeline.git synced 2025-12-12 17:34:02 +00:00

docs updated

This commit is contained in:
Jonathan Martins 2023-02-25 12:18:09 -03:00
parent 63f58e6a99
commit 719fc32d9b

View file

@ -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);
```