@eik/core 2.1.82 → 2.1.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/multipart/parser.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.1.83](https://github.com/eik-lib/core/compare/v2.1.82...v2.1.83) (2026-08-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* reduce MAX_CONCURRENT_WRITES from 16 to 8 ([#642](https://github.com/eik-lib/core/issues/642)) ([8ab90c6](https://github.com/eik-lib/core/commit/8ab90c62123ac0d2001d8e0dff5ae4d21a194531))
|
|
7
|
+
|
|
1
8
|
## [2.1.82](https://github.com/eik-lib/core/compare/v2.1.81...v2.1.82) (2026-08-19)
|
|
2
9
|
|
|
3
10
|
|
package/lib/multipart/parser.js
CHANGED
|
@@ -162,7 +162,9 @@ const MultipartParser = class MultipartParser {
|
|
|
162
162
|
// Without a cap, a tar with thousands of files would open an equal
|
|
163
163
|
// number of concurrent GCS resumable uploads or filesystem write
|
|
164
164
|
// streams, exhausting the connection pool or file descriptor limit.
|
|
165
|
-
|
|
165
|
+
// 8 keeps the peak concurrent GCS API calls below the default
|
|
166
|
+
// EventEmitter maxListeners threshold of 10.
|
|
167
|
+
const MAX_CONCURRENT_WRITES = 8;
|
|
166
168
|
let runningWrites = 0;
|
|
167
169
|
/** @type {import("tar").ReadEntry[]} */
|
|
168
170
|
const pendingEntries = [];
|