mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
Closes #5811 <img width="206" alt="image" src="https://github.com/user-attachments/assets/a2c46bb6-c76a-49ca-a933-4363597d4029"> - Waits a random amount of time up to 24 hours before the first network check, to avoid the thundering herd problem - Polls every 24 hours (86,400 seconds) after that - Saves the network response to disk so we ~~can show "Update ready" immediately at startup~~ won't notify twice about the same version - Not clear whether suspending the computer suspends the timer - "it is also not specified whether system suspends count as elapsed time or not. The behavior varies across platforms and Rust versions." --------- Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>