mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-12 09:30:52 +01:00
main
- Prep for demo
This commit is contained in:
parent
915263e49a
commit
901674a5e3
@ -99,10 +99,11 @@ func (s *SyncerImpl) Sync(correspondingMesh mesh.MeshProvider) (bool, error) {
|
||||
|
||||
var wait sync.WaitGroup
|
||||
|
||||
for index, node := range gossipNodes {
|
||||
for index := range gossipNodes {
|
||||
wait.Add(1)
|
||||
|
||||
syncNode := func(i int) {
|
||||
node := gossipNodes[i]
|
||||
correspondingPeer, err := correspondingMesh.GetNode(node)
|
||||
|
||||
defer wait.Done()
|
||||
|
Loading…
Reference in New Issue
Block a user