This commit is contained in:
Eva Ho 2025-12-17 17:17:31 -05:00
parent dc573715c4
commit ba25f4a898
2 changed files with 0 additions and 2 deletions

View File

@ -1641,7 +1641,6 @@ func (s *Server) installUpdate(w http.ResponseWriter, r *http.Request) error {
return fmt.Errorf("no update downloaded")
}
// Send response before restarting
response := map[string]any{
"success": true,

View File

@ -287,7 +287,6 @@ func (u *Updater) TriggerImmediateCheck() {
func (u *Updater) StartBackgroundUpdaterChecker(ctx context.Context, cb func(string) error) {
u.checkNow = make(chan struct{}, 1)
go func() {
// Don't blast an update message immediately after startup
time.Sleep(UpdateCheckInitialDelay)