build: wait an hour for IPFS release
- Increases the wait time for IPFS to be available during release to an hour. The current setup is functional, but eg https://github.com/Uniswap/interface/runs/7298181685?check_suite_focus=true#step:12:69 took 27 (of 31) tries, so the number of retries needs to be increased.
- Documents IPFS initial request delays. As part of this PR, the proxy read timeout should be extended to 8m on cloudflare.
Essentially, IPFS content only propagates to a new node when it is requested by a client, so a cloudflare data center's first load will always have some delay. Anecdotally, that delay is about 5 minutes.
We seem to be able to mitigate that delay for US nodes by pre-requesting the asset through cloudflare's public gateway (although we have no guarantees about this). However, this does not mitigate the delay for international nodes.
I think this leaves us with 3 choices:
- Increase the proxy read timeout so that initial requests to IPFS do not time out.
- Maintain our own internationally placed IPFS cluster to intentionally propagate and make the content more available.
- Abandon IPFS as our primary hosting service.
This PR documents (1) an increased proxy read timeout to 8 minutes, which will need to be made separately using cloudflare's API.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| interface | ✅ Ready (Inspect) | Visit Preview | Jul 12, 2022 at 11:25AM (UTC) |
I think this is close-able now?
don't think we need this anymore