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

added keepalive=false in createRequest #2986

Merged
merged 4 commits into from
Jun 11, 2024
Merged

added keepalive=false in createRequest #2986

merged 4 commits into from
Jun 11, 2024

Conversation

dsawali
Copy link
Contributor

@dsawali dsawali commented Jun 11, 2024

closes #2973

  • updated taquito-http-util fetch call to include keepalive=false. Node 19 onwards now defaults keepalive to true, which were causing the socket hangup errors

Thank you for your contribution to Taquito.

Before submitting this PR, please make sure:

  • Your code builds cleanly without any errors or warnings
  • You have run the linter against the changes
  • You have added unit tests (if relevant/appropriate)
  • You have added integration tests (if relevant/appropriate)
  • All public methods or types have TypeDoc coverage with a complete description, and ideally an @example
  • You have added or updated corresponding documentation
  • If relevant, you have written a first draft summary describing the change for inclusion in Release Notes.

In this PR, please also make sure:

  • You have linked this PR to the issue by putting closes #TICKETNUMBER in the description box (when applicable)
  • You have added a concise description on your changes

Release Note Draft Snippet

If relevant, please write a summary of your change that will be suitable for
inclusion in the Release Notes for the next Taquito release.

Copy link

github-actions bot commented Jun 11, 2024

A new deploy preview is available on Cloudflare Pages at https://7d5d4c22.taquito-test-dapp.pages.dev

Copy link

github-actions bot commented Jun 11, 2024

New packages have been deployed to the preview repository at https://npm.preview.tezostaquito.io/.

Published packages:

npm i @taquito/taquito@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/tzip12@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/signer@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/http-utils@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/local-forging@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/remote-signer@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/sapling@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/rpc@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/ledger-signer@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/michel-codec@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/utils@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/contracts-library@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/core@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/timelock@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/beacon-wallet@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/tzip16@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/michelson-encoder@20.0.0-494a78e-- --registry https://npm.preview.tezostaquito.io/

Copy link

cloudflare-workers-and-pages bot commented Jun 11, 2024

Deploying taquito with  Cloudflare Pages  Cloudflare Pages

Latest commit: 163b086
Status: ✅  Deploy successful!
Preview URL: https://6fb136bb.taquito.pages.dev
Branch Preview URL: https://2973-fix-fetch.taquito.pages.dev

View logs

Copy link
Collaborator

@hui-an-yang hui-an-yang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, would be nice to also update the doc docs/cancel_http_requests.md line45 with the change and have example in release note too.

@dsawali dsawali merged commit a7e5391 into master Jun 11, 2024
9 of 10 checks passed
@dsawali dsawali deleted the 2973-fix-fetch branch June 11, 2024 21:50
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.

Unable to run integration-test against private rpc node with node v20
2 participants