- If deadline exceeded error remove connection from
connection manager
This commit is contained in:
Tim Beatham
2023-12-29 01:29:11 +00:00
parent cabe173831
commit 2d5df25b1d
4 changed files with 38 additions and 6 deletions

View File

@@ -96,11 +96,6 @@ func (s *SyncerImpl) Sync(meshId string) error {
if err == nil || err == io.EOF {
succeeded = true
} 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
s.manager.GetMesh(meshId).Mark(node)
}
if err != nil {