doc(client): point the compaction headroom at its upstream default

The mirrored headroom has no named constant in dsh-compaction-basic, so
there is no symbol to grep for; name the resolveConfig fallback to read
instead.
This commit is contained in:
bowenliang123 committed 2026-10-13 19:50:27 +08:00
1 parent 1ff26107b5
commit 39f510e91a
1 file changed
+2 -1
+2 -1
View File
@@ -16,7 +16,8 @@
/** dsh-compaction-basic's default window fraction for pressure (`DEFAULT_THRESHOLD_RATIO`). */
export const COMPACT_THRESHOLD_RATIO = 0.8
/** dsh-compaction-basic's default pressure headroom beyond the output reservation. */
/** dsh-compaction-basic's default pressure headroom beyond the output reservation — read from the
* inline `?? 65_536` in that package's `resolveConfig`. */
export const COMPACT_HEADROOM_TOKENS = 65_536
/** Where the reserve starts and what it is made of, in WINDOW tokens. */