@declaw/sdk 1.1.12 → 1.1.13
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 +14 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ 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.13]
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `DECLAW_SDK_CONNECTIONS` default lowered from 100 to **64**, matching
|
|
13
|
+
the 1.1.10 baseline. Empirically faster on typical low-to-mid
|
|
14
|
+
concurrency workloads (~10% lower median TTI in our 3-mode bench at
|
|
15
|
+
100 concurrent) because the smaller pool pays less TCP-setup overhead
|
|
16
|
+
on cold start. `DECLAW_SDK_MAX_CONCURRENT_STREAMS` default remains
|
|
17
|
+
**1000** (introduced in 1.1.12) so the effective in-flight ceiling is
|
|
18
|
+
**64,000 concurrent requests** per Node process — well above any
|
|
19
|
+
realistic burst load. Raise `DECLAW_SDK_CONNECTIONS=100` to lift the
|
|
20
|
+
ceiling to 100,000 if you need it.
|
|
21
|
+
|
|
8
22
|
## [1.1.12]
|
|
9
23
|
|
|
10
24
|
### Changed
|
package/dist/index.cjs
CHANGED
|
@@ -248,7 +248,7 @@ function getDispatcher() {
|
|
|
248
248
|
}
|
|
249
249
|
const undici = await import("undici");
|
|
250
250
|
const connOverride = parseInt(process.env.DECLAW_SDK_CONNECTIONS || "", 10);
|
|
251
|
-
const connections = Number.isFinite(connOverride) && connOverride > 0 ? connOverride :
|
|
251
|
+
const connections = Number.isFinite(connOverride) && connOverride > 0 ? connOverride : 64;
|
|
252
252
|
const streamsOverride = parseInt(process.env.DECLAW_SDK_MAX_CONCURRENT_STREAMS || "", 10);
|
|
253
253
|
const maxConcurrentStreams = Number.isFinite(streamsOverride) && streamsOverride > 0 ? streamsOverride : 1e3;
|
|
254
254
|
return new undici.Agent({
|