routing: properly use vertexDecay for vertexes in missionControl
This commit is contained in:
parent
f555f29c7f
commit
209fb98d0f
@ -109,7 +109,7 @@ func (m *missionControl) GraphPruneView() *graphPruneView {
|
|||||||
// view we'll return.
|
// view we'll return.
|
||||||
vertexes := make(map[vertex]struct{})
|
vertexes := make(map[vertex]struct{})
|
||||||
for vertex, pruneTime := range m.failedVertexes {
|
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 "+
|
log.Tracef("Pruning decayed failure report for vertex %v "+
|
||||||
"from Mission Control", vertex)
|
"from Mission Control", vertex)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user