This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
Nice useful timeouts #5
Labels
kind/enhancement
A net-new feature or an improvement to an existing feature
Note: I'm only talking about /ipfs and /ipns paths on the gateway here, not about /api.
Currently there are hardcoded timeouts of 1 hour in the gateway, and 30 minutes in the nginx reverse-proxy on ipfs.io. If the gateway's underlying ipfs node can't serve the file/directory from its own dagstore, it'll use bitswap to find and fetch it. The request will hang and wait until the data has been fetched. If one of the timeouts is reached, the response will be a cryptic error ("context deadline exceeded" and "504 Gateway Timeout", resp.)
We can make this condition a lot more useful.
Basically like a search form on a 404 page, but way cooler.
The text was updated successfully, but these errors were encountered: