E2B icon indicating copy to clipboard operation
E2B copied to clipboard

Use keep-alive in all SDK HTTP requests

Open 0div opened this issue 6 months ago • 4 comments

Description

This is the client side changes needed to make sure keep-alive is consistent across all server-side requests.

Test

For now, making sure all legacy tests pass, will validate that the header is present server-side.

0div avatar Jun 09 '25 18:06 0div

⚠️ No Changeset found

Latest commit: 38e06c3375f143132bcbe8da80476aed6db1f709

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jun 09 '25 18:06 changeset-bot[bot]

@jakubno , is this what you envisioned wrt https://linear.app/e2b/issue/E2B-2185/ensure-we-are-using-keepalives-in-our-sdks ? If so, ill move forward with the API/envd part.

0div avatar Jun 09 '25 21:06 0div

If we are adding the keepalive we might revisit the max connection limits of the clients/fetch.

ValentaTomas avatar Jun 12 '25 22:06 ValentaTomas