Skip to main content

check_background

Function check_background 

Source
pub fn check_background()
Expand description

Spawn a background thread to fetch latest version from GitHub Releases and write the result to the lean-ctx data dir (latest-version.json). Non-blocking, fire-and-forget. Skips if cache is fresh (<24h). Respects update_check_disabled config and LEAN_CTX_NO_UPDATE_CHECK env var.