mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Change 2021-01 to 2021-50 (Weekly thread #50)
This commit is contained in:
parent
93b528cb9f
commit
57b4925e7b
7 changed files with 15 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: 'Use retry() for callbacks that may randomly fail'
|
||||
tweet_id: '1471864638199451648'
|
||||
thread_slug: weekly-thread-2021-01
|
||||
thread_slug: weekly-thread-2021-50
|
||||
author_username: alexjgarrett
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FGP3MSQWQAYKjSm.jpg'
|
||||
|
|
@ -12,4 +12,4 @@ slug: use-retry-for-callbacks-that-may-randomly-fail
|
|||
|
||||
I was hitting a shaky API that sometimes failed.
|
||||
|
||||
Here, the retry function tries the callback 3 times, with a 2 second interval in-between retries.
|
||||
Here, the retry function tries the callback 3 times, with a 2 second interval in-between retries.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue