refactor(node-host): trim internal exports (#107270)

This commit is contained in:
Peter Steinberger
2026-07-14 00:49:54 -07:00
committed by GitHub
parent 1d4188138e
commit 4dff4e95b1
16 changed files with 342 additions and 603 deletions

View File

@@ -8,7 +8,7 @@ const MAX_HEARTBEAT_INTERVAL_MS = 5_000;
type Pausable = { pause(): void; resume(): void };
export function resolveNodeInvokeHeartbeatInterval(idleTimeoutMs: number): number {
function resolveNodeInvokeHeartbeatInterval(idleTimeoutMs: number): number {
return Math.max(
MIN_HEARTBEAT_INTERVAL_MS,
Math.min(MAX_HEARTBEAT_INTERVAL_MS, Math.floor(idleTimeoutMs / 2)),