Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/shared/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export const NTP_CONSTANTS = {
// Steady state interval after initial measurements
STEADY_STATE_INTERVAL_MS: STEADY_STATE_INTERVAL_MS,
// Timeout before considering connection stale
RESPONSE_TIMEOUT_MS: 1.5 * STEADY_STATE_INTERVAL_MS,
// Increased to 12x (30s) to prevent disconnects during file picker selection or slow network (Issue #93)
RESPONSE_TIMEOUT_MS: 12 * STEADY_STATE_INTERVAL_MS,
// Maximum number of NTP measurements to collect initially
MAX_MEASUREMENTS: 40,
} as const;
Expand Down