Closed Steen3S closed 7 months ago
This looks great. I changed some small things about the rate limiting to allow for more concurrent requests. But I'm running into issues where the Vercel Edge function times out for certain NFT collections (looks like mainly for collections without any pricing data - I manually checked a few by calling the Reservoir directly).
This timeout is only on the first visit (seems like Reservoir needs to still index these collections at first visit or something), which makes it hard to debug.
Since this only happens for collections without real pricing info any way, it is alright, since we can just return null
as price. But right now it takes 10 seconds before the Edge function times out. We probably want to make sure the Edge function times out earlier if it doesn't get a response from Reservoir in like 3-4 seconds, so that it doesn't cause the frontend to stall for 10 seconds.
The latest updates on your projects. Learn more about Vercel for Git ↗︎