nftstorage / nftstorage.link

🪐 NFT.Storage Gateway, the IPFS gateway for NFT.Storage is not "another gateway", but a caching layer for NFTs that sits on top of existing IPFS public gateways. ***Notice: Uploads have been decommissioned.**** Learn more and find a new hot storage provider for uploading new assets: nft.storage/nft-storage-classic
https://nft.storage/nft-storage-classic
Other
46 stars 10 forks source link

fix: gateway histogram response time only updated on 200 #80

Closed vasco-santos closed 2 years ago

vasco-santos commented 2 years ago

Noticed that Pinata was having really fast responses but number did not make sense. Turns out 🤦🏼‍♂️ we were counting other status codes for the response, which since we introduced pinata.nftstorage.link with out own rate limit errors were resulting in lot's of really fast 429 responses.

vasco-santos commented 2 years ago

Note: Should go after https://github.com/nftstorage/nftstorage.link/pull/79 to avoid messing up with DO migrations on release

cloudflare-pages[bot] commented 2 years ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b488375
Status: ✅  Deploy successful!
Preview URL: https://9ea612f6.nftstorage-link.pages.dev

View logs