code: func (ns *nodeSet) updateNode(n NodeInfo) {
  	_, ok := ns.nodes[n.ID]
  	if ok {
  		ns.nodes[n.ID] = n
  	}
  }
docs: // updateNode sets the number of tasks for a given node. It ignores the update
  // if the node isn't already tracked in the set.