Closed hendrasan closed 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/mathdroid/covid19/k5dw53aff
✅ Preview: https://covid19-git-84e900b0efb29fd98f33e25a22dd8c9d440f4b45.mathdroid.vercel.app
Nevermind, worked in my machine but failed in production 😅
The problem is the endpoint timed out. It's probably because the John Hopkins API takes up to 8-10 seconds per request, more than the 10 seconds allowed by Vercel Hobby plan.
Maybe you should break the endpoint to only show X latest records or something
The problem is the endpoint timed out. It's probably because the John Hopkins API takes up to 8-10 seconds per request, more than the 10 seconds allowed by Vercel Hobby plan.
Maybe you should break the endpoint to only show X latest records or something
as a result it's work?
@hendrasan so it is not working, I'll close this PR if not working.
Should fix #303 but not sure if it will break when there are more daily data in the future.