@declaw/sdk 1.1.4 → 1.1.5
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/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to the Declaw TypeScript / JavaScript SDK are documented in
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.1.5]
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Set Node dispatcher pool size to 64 (overridable via
|
|
13
|
+
`DECLAW_SDK_CONNECTIONS`).
|
|
14
|
+
|
|
8
15
|
## [1.1.4]
|
|
9
16
|
|
|
10
17
|
### Changed
|
package/dist/index.cjs
CHANGED
|
@@ -250,8 +250,10 @@ function getDispatcher() {
|
|
|
250
250
|
return origEmit.call(process, warning, ...rest);
|
|
251
251
|
});
|
|
252
252
|
const undici = await import("undici");
|
|
253
|
+
const connOverride = parseInt(process.env.DECLAW_SDK_CONNECTIONS || "", 10);
|
|
254
|
+
const connections = Number.isFinite(connOverride) && connOverride > 0 ? connOverride : 64;
|
|
253
255
|
return new undici.Agent({
|
|
254
|
-
connections
|
|
256
|
+
connections,
|
|
255
257
|
keepAliveTimeout: 3e4,
|
|
256
258
|
keepAliveMaxTimeout: 6e4,
|
|
257
259
|
pipelining: 1,
|