Adding retry parameter
This commit is contained in:
Tim Beatham
2023-12-29 01:10:26 +00:00
parent d2c8a52ec6
commit cabe173831
2 changed files with 4 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ func (s *SyncerImpl) Sync(meshId string) error {
if err == nil || err == io.EOF {
succeeded = true
} else {
} else if self.GetType() == conf.PEER_ROLE {
// If the synchronisation operation has failed them mark a gravestone
// preventing the peer from being re-contacted until it has updated
// itself