Locking/Ping cleanup

This commit is contained in:
Jakob Borg
2013-12-24 11:45:16 -05:00
parent 064bfd366f
commit fc4b23fbc6
4 changed files with 56 additions and 55 deletions

View File

@@ -282,11 +282,6 @@ func connect(myID string, addr string, nodeAddrs map[string][]string, m *Model,
nc := protocol.NewConnection(nodeID, conn, conn, m)
okln("Connected to node", remoteID, "(out)")
m.AddNode(nc)
if opts.Debug.TraceNet {
t0 := time.Now()
nc.Ping()
timing("NET: Ping reply", t0)
}
continue nextNode
}
}