package clock // DefaultWarningThresholds returns the default warning thresholds (60s, 30s, 10s). // This is re-exported here for convenience; the canonical implementation // is DefaultWarnings() in engine.go. // // Warning system behavior: // - Warnings fire when remainingNs crosses below a threshold // - Each threshold fires at most once per level (tracked in emittedWarnings map) // - On level change, emittedWarnings is reset // - Warning events are broadcast via WebSocket with type "clock.warning" // // The warning checking logic is implemented in ClockEngine.checkWarningsLocked() // in engine.go, called on every tick.