4a88c61a90
We do this to avoid a huge amount of goroutines piling up on initial graph sync, as they will all block trying to send the node update on the stateUpdates channel. Now we instead make a new buffered channel nodeUpdates, and just return immediately if there is already a signal in the channel waiting to be processed. |
||
---|---|---|
.. | ||
agent_test.go | ||
agent.go | ||
graph.go | ||
interface.go | ||
log.go | ||
prefattach_test.go | ||
prefattach.go |