pub const RENDER_GRACE_SECS: u64 = 5;Expand description
Grace period before a never-rendered overlay is torn down. Comfortably
above a healthy cold mount — React boot, the overlay’s get_settings /
get_current_break IPC round-trips, and first paint all land well under a
second even on a loaded machine — so a slow-but-live overlay is never
killed, yet short enough that a genuine freeze self-clears quickly.
On the Windows test build both users — the #[cfg(not(test))] watchdog
spawn and the abort_stranded_break rig test (excluded on Windows, where
the tauri test feature can’t boot a mock app) — are compiled out, so this
reads as dead there; the real build and other-OS test builds keep it live.