Private
Public Access
1
0

fix update reconnect notification when waking from sleep

This commit is contained in:
2025-06-13 19:01:00 -07:00
parent b2049fb432
commit 31eeb8659a

View File

@@ -188,6 +188,7 @@ impl UpdateMonitor {
} }
Err(e) => { Err(e) => {
log::error!("Error in event stream: {}", e); log::error!("Error in event stream: {}", e);
self.first_connection = true;
break; // Break inner loop to reconnect break; // Break inner loop to reconnect
} }
} }
@@ -219,6 +220,7 @@ impl UpdateMonitor {
match command { match command {
UpdateMonitorCommand::Restart => { UpdateMonitorCommand::Restart => {
log::info!(target: target::UPDATES, "Restarting update monitor"); log::info!(target: target::UPDATES, "Restarting update monitor");
self.first_connection = true;
break; break;
} }
} }