From 209fb98d0f0f7f03267469cc1f1b2d2673a45d68 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 16 Oct 2017 20:31:26 -0700 Subject: [PATCH] routing: properly use vertexDecay for vertexes in missionControl --- routing/missioncontrol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/missioncontrol.go b/routing/missioncontrol.go index f8dd35ba..67d419d8 100644 --- a/routing/missioncontrol.go +++ b/routing/missioncontrol.go @@ -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)