@serfab/quereus-plugin-sereus 1.5.0 → 1.6.0

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.
@@ -41,9 +41,9 @@ export declare const MIN_CLUSTER_SIZE = 2;
41
41
  * **What it costs**, in the terms Optimystic's own field doc uses: a peer that is truly gone
42
42
  * now holds a read of a block missing locally for up to 5 s before the read is declined
43
43
  * instead of 1 s. A joining machine's first sync runs several such consults, so it is the cost
44
- * that binds — and the first-sync band measured at BOTH deadlines, against the 120 s budget it
45
- * has to fit, is recorded once, on `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` in cadre-core's
46
- * `strand-first-sync-gate.ts`. At 5000 against the 30 s budget that preceded 120 s, this change
44
+ * that binds — and the first-sync band measured at BOTH deadlines, against the budget it has
45
+ * to fit, is recorded once, on `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` in cadre-core's
46
+ * `strand-first-sync-gate.ts`. At 5000 against the 30 s budget that preceded it, this change
47
47
  * would have turned a slow-but-working join into the very `StrandAwaitingFirstSyncError` the
48
48
  * report named. 3000 is the fallback if that margin ever goes — still 1.7x the reported round
49
49
  * trip, and a doomed consult costs 40% less.
@@ -72,10 +72,11 @@ export declare const MIN_CLUSTER_SIZE = 2;
72
72
  * cadre-core's `NetworkConfig.cohortQueryTimeoutMs`, threaded to {@link controlClusterPolicy}
73
73
  * and {@link strandClusterPolicy}.
74
74
  *
75
- * NOTE: this number and the first-sync budget are coupled, and the margin between them is about
76
- * 2.6x today. Re-measure the first-sync band before raising this again, or when a deployment's
77
- * first sync grows more collections than the two-table scenario measured above —
78
- * `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` carries the result and `docs/testing.md` the recipe.
75
+ * NOTE: this number and the first-sync budget are coupled; the margin between that budget and
76
+ * the slowest first sync measured is stated on it. Re-measure the first-sync band before raising
77
+ * this again, or when a deployment's first sync grows more collections than the two-table
78
+ * scenario measured above — `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` carries the result and
79
+ * `docs/testing.md` the recipe.
79
80
  * Nothing warns when the margin goes; the symptom is `StrandAwaitingFirstSyncError` on a join
80
81
  * that was progressing normally, which is the failure this pair of numbers exists to end.
81
82
  */
@@ -40,9 +40,9 @@ export const MIN_CLUSTER_SIZE = 2;
40
40
  * **What it costs**, in the terms Optimystic's own field doc uses: a peer that is truly gone
41
41
  * now holds a read of a block missing locally for up to 5 s before the read is declined
42
42
  * instead of 1 s. A joining machine's first sync runs several such consults, so it is the cost
43
- * that binds — and the first-sync band measured at BOTH deadlines, against the 120 s budget it
44
- * has to fit, is recorded once, on `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` in cadre-core's
45
- * `strand-first-sync-gate.ts`. At 5000 against the 30 s budget that preceded 120 s, this change
43
+ * that binds — and the first-sync band measured at BOTH deadlines, against the budget it has
44
+ * to fit, is recorded once, on `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` in cadre-core's
45
+ * `strand-first-sync-gate.ts`. At 5000 against the 30 s budget that preceded it, this change
46
46
  * would have turned a slow-but-working join into the very `StrandAwaitingFirstSyncError` the
47
47
  * report named. 3000 is the fallback if that margin ever goes — still 1.7x the reported round
48
48
  * trip, and a doomed consult costs 40% less.
@@ -71,10 +71,11 @@ export const MIN_CLUSTER_SIZE = 2;
71
71
  * cadre-core's `NetworkConfig.cohortQueryTimeoutMs`, threaded to {@link controlClusterPolicy}
72
72
  * and {@link strandClusterPolicy}.
73
73
  *
74
- * NOTE: this number and the first-sync budget are coupled, and the margin between them is about
75
- * 2.6x today. Re-measure the first-sync band before raising this again, or when a deployment's
76
- * first sync grows more collections than the two-table scenario measured above —
77
- * `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` carries the result and `docs/testing.md` the recipe.
74
+ * NOTE: this number and the first-sync budget are coupled; the margin between that budget and
75
+ * the slowest first sync measured is stated on it. Re-measure the first-sync band before raising
76
+ * this again, or when a deployment's first sync grows more collections than the two-table
77
+ * scenario measured above — `DEFAULT_STRAND_FIRST_SYNC_TIMEOUT_MS` carries the result and
78
+ * `docs/testing.md` the recipe.
78
79
  * Nothing warns when the margin goes; the symptom is `StrandAwaitingFirstSyncError` on a join
79
80
  * that was progressing normally, which is the failure this pair of numbers exists to end.
80
81
  */
@@ -1 +1 @@
1
- {"version":3,"file":"cluster-size.js","sourceRoot":"","sources":["../src/cluster-size.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC;IACnD,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,GAAG;IAClB,kBAAkB,EAAE,CAAC;IACrB,oBAAoB,EAAE,uBAAuB;CACO,CAAC,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC;IAClD,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,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