createLocalNode: Wait before retrying to retrieve the custody group count if not present. (#15735)

This commit is contained in:
Manu NALEPA
2025-09-23 17:46:39 +02:00
committed by GitHub
parent aa47435c91
commit 4585cdc932
2 changed files with 3 additions and 0 deletions

View File

@@ -614,6 +614,7 @@ func (s *Service) createLocalNode(
custodyGroupCount, err = s.CustodyGroupCount()
if errors.Is(err, errNoCustodyInfo) {
log.WithField("delay", delay).Debug("No custody info available yet, retrying later")
time.Sleep(delay)
continue
}

2
changelog/manu-wait.md Normal file
View File

@@ -0,0 +1,2 @@
### Fixed
- `createLocalNode`: Wait before retrying to retrieve the custody group count if not present.