stopachka / stopablog-archived

[Archive] The blog, powered by OneGraph : )
https://www.stopa.io
6 stars 1 forks source link

Add retry if sourcecodeshots request fails #268

Closed dwwoelfel closed 3 years ago

dwwoelfel commented 3 years ago

Adds retry to code highlighting requests.

My hypothesis is that the vercel build machines are making more concurrent outbound requests than they can handle during the build. This will add retries to the code highlight requests to recover from those errors.

Not 100% sure this will fix the problem--the build succeeded before this change on my local machine.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/stopa/stopablog/4l5qgnug7
✅ Preview: Failed