77e3e74ea2
This commit modifies the Select method for the ConstrainedPrefAttachment attachment heuristic slightly. Previously, it was possible for an autopilot.Agent to go over the allotted number of channels as it would unconditionally attempt to establish channel with all returned Attachment Directives. To remedy this, we now assume that we already have active, or pending channels to each of the nodes in the set of skipNodes. Therefore, we now use the size of the skipNodes map as an upper limit within the primary selection loop. |
||
---|---|---|
.. | ||
agent_test.go | ||
agent.go | ||
graph.go | ||
interface.go | ||
log.go | ||
prefattach_test.go | ||
prefattach.go |