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

This commit is contained in:
Pasha Sviderski committed 2026-06-23 09:29:04 +10:00
1 parent 8aa0a96c23
commit 5f07bc5832
2 files changed
+22 -18

No files matched your search

-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),