livepeer / livepeer-monorepo

JavaScript tools and applications that interact with Livepeer's smart contracts and peer-to-peer network
https://livepeer.org
MIT License
166 stars 71 forks source link

add default revalidate value #1043

Closed adamsoffer closed 2 years ago

adamsoffer commented 2 years ago

What does this pull request do? Explain your changes. (required) Occasionally pages aren't statically generated causing the loading spinner to appear when rendering the overview and orchestrator routes. Adding a default revalidation value appears to resolve the issue. We also increase the revalidation value to 60s to save on bandwidth.

vercel[bot] commented 2 years ago

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

explorer-mainnet – ./packages/explorer-2.0

🔍 Inspect: https://vercel.com/livepeer/explorer-mainnet/6dPDsgkDSLddC5H4ELzyLDbbMdEk
✅ Preview: https://explorer-mainnet-git-as-revalidate-default-livepeer.vercel.app

explorer-rinkeby – ./packages/explorer-2.0

🔍 Inspect: https://vercel.com/livepeer/explorer-rinkeby/FS1FFUZQH7Zh4MDhZ9oSAnhtKkhm
✅ Preview: https://explorer-rinkeby-git-as-revalidate-default-livepeer.vercel.app