batch metric updates

This commit is contained in:
Asim Aslam
2019-12-11 15:23:08 +00:00
parent 6e28e7a86f
commit 27af221fd2
2 changed files with 96 additions and 36 deletions

View File

@@ -281,7 +281,6 @@ func (t *tun) manageLinks() {
connect = append(connect, node)
}
// delete the dead links
if len(delLinks) > 0 {
t.Lock()