fix test
This commit is contained in:
parent
dc573715c4
commit
ba25f4a898
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue