GitBook API occasionally throws a 500 when trying to get a page. This makes our whole sync Lambda fail. This commit adds a retry step, that will wait a second and retry the GitBook API, with retries capped to three, so the Lambda is a little more resilient to random 500s from GitBook API. |
||
|---|---|---|
| .. | ||
| client | ||
| rts | ||
| server | ||
| util | ||