instar 1.3.329 → 1.3.330
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/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +5 -0
- package/dist/commands/server.js.map +1 -1
- package/dist/core/HttpLeaseTransport.d.ts +24 -0
- package/dist/core/HttpLeaseTransport.d.ts.map +1 -1
- package/dist/core/HttpLeaseTransport.js +34 -4
- package/dist/core/HttpLeaseTransport.js.map +1 -1
- package/dist/core/PeerFailureLogGate.d.ts +44 -0
- package/dist/core/PeerFailureLogGate.d.ts.map +1 -0
- package/dist/core/PeerFailureLogGate.js +60 -0
- package/dist/core/PeerFailureLogGate.js.map +1 -0
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +2 -2
- package/upgrades/{1.3.329.md → 1.3.330.md} +40 -0
- package/upgrades/side-effects/mesh-pull-brakes.md +63 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA6SH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAuxDD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA6SH,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAuxDD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA4mRtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
|
package/dist/commands/server.js
CHANGED
|
@@ -2429,6 +2429,11 @@ export async function startServer(options) {
|
|
|
2429
2429
|
},
|
|
2430
2430
|
nextSequence: () => ++leaseSeq,
|
|
2431
2431
|
reachabilityWindowMs: seamlessness.leaseTtlMs,
|
|
2432
|
+
// P19 hung-socket brake, derived from config: must stay BELOW the
|
|
2433
|
+
// self-suspend horizon (leaseTtlMs) so one slow renewal can't burn
|
|
2434
|
+
// the whole TTL, but ABOVE the fleet's 5-40s receiver-stall envelope
|
|
2435
|
+
// so a slow-but-alive peer isn't converted into "no medium".
|
|
2436
|
+
requestTimeoutMs: Math.min(seamlessness.leaseTtlMs / 2, 30_000),
|
|
2432
2437
|
logger: (m) => console.log(pc.dim(m)),
|
|
2433
2438
|
});
|
|
2434
2439
|
const leaseCoordinator = new LeaseCoordinator({
|