Repository navigation
e2b@2.62.2
·
35 commits
to main
since this release
Patch Changes
- 08f05bb: Fix
TypeError: fetch failed/NGHTTP2_ENHANCE_YOUR_CALMon concurrentfiles.write()calls. Node's HTTP/2 client queues each request body in full against a 10 MB per-session memory budget and resets the stream whose response arrives while it is exhausted; since undici 8 every envd request of a process shares one session, so parallel or large uploads reset each other and the reads next to them.files.write()uploads now go over HTTP/1.1 on a pool of their own (one request per connection, no shared budget;E2B_ENVD_UPLOAD_CONNECTIONS, default 50), and an envd dispatcher whose HTTP/2 session Node reports as out of memory is retired and replaced instead of failing every later request. Nothing is retried: a failed write may already have been applied. - 1ad3f76: Template builds hash
copy()files in 1 MB chunks instead of reading each file fully into memory, cutting peak memory for large files. Hashes are unchanged, so existing build caches stay valid.