routing: properly use vertexDecay for vertexes in missionControl

This commit is contained in:
Olaoluwa Osuntokun 2017-10-16 20:31:26 -07:00
parent f555f29c7f
commit 209fb98d0f
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -109,7 +109,7 @@ func (m *missionControl) GraphPruneView() *graphPruneView {
// view we'll return.
vertexes := make(map[vertex]struct{})
for vertex, pruneTime := range m.failedVertexes {
if now.Sub(pruneTime) >= edgeDecay {
if now.Sub(pruneTime) >= vertexDecay {
log.Tracef("Pruning decayed failure report for vertex %v "+
"from Mission Control", vertex)