Commit Graph

5 Commits

Author SHA1 Message Date
Shrikant Sharat Kandula
a26c14e2cd
fix: Load pages from GitBook sequentially (#8519)
Loading them in parallel is causing us to breach some rate limiting restrictions sporadically and the whole process fails. So this reverts to loading pages sequentially instead.
2021-12-12 19:11:07 +05:30
Shrikant Sharat Kandula
fae8de553d
Add retries when getting page from GitBook (#7611)
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.
2021-09-20 12:34:04 +05:30
Shrikant Sharat Kandula
aea43006db
ci: Fix large documents breaking upload to Algolia (#6815)
When uploading docs to Algolia, if the document's JSON representation is larger than 10KB (roughly), then Algolia API will reject it.
2021-08-26 11:34:39 +05:30
Satbir Singh
26717a14a6 Updated algolia for the order. 2020-05-29 12:42:35 +05:30
Satbir Singh
b7b74ffd02 Feature/help 2020-05-28 18:10:26 +00:00