Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: increase gateway timeout #1331

Merged
merged 1 commit into from
Feb 14, 2022
Merged

Conversation

vasco-santos
Copy link
Contributor

This PR increases gateway timeout to 60s (same as ipfs.io)

I was talking last night with @dchoi27 and we should increase the timeout as we might not have data in Peered Cluster nodes, and need to perform DHT lookups. This is particularly important for users that store their data in Pinning Services.

I was looking into cf-ipfs and pinata dedicated gateway timeouts and they are bigger than 60s. But I think 60s should be a reasonable timeout to have.

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 97f57ea
Status: ✅  Deploy successful!
Preview URL: https://012b77e9.nft-storage-1at.pages.dev

View logs

@vasco-santos vasco-santos merged commit c5f5dee into main Feb 14, 2022
@vasco-santos vasco-santos deleted the fix/increase-gateway-timeout branch February 14, 2022 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants