fix(machine): correctly recreate machine in store if missing, improve context handling

This commit is contained in:
Pasha Sviderski
2026-06-23 09:29:04 +10:00
parent 8aa0a96c23
commit 5f07bc5832
2 changed files with 22 additions and 18 deletions
-2
View File
@@ -49,8 +49,6 @@ func (s *Service) WatchDaemonRestart(ctx context.Context) <-chan struct{} {
ch := make(chan struct{}, 1)
go func() {
defer close(ch)
boff := backoff.WithContext(backoff.NewExponentialBackOff(
backoff.WithInitialInterval(1*time.Second),
backoff.WithMaxInterval(30*time.Second),