Disable submission to perfCollector.
This commit is contained in:
parent
89e58c9a24
commit
f5708d1ea8
|
@ -576,7 +576,7 @@ func TrackRequestPerf(c *RequestContext, perfCollector *perf.PerfCollector) (aft
|
||||||
blockStack = append(blockStack, block.End)
|
blockStack = append(blockStack, block.End)
|
||||||
}
|
}
|
||||||
log.Msg(fmt.Sprintf("Served [%s] %s in %.4fms", c.Perf.Method, c.Perf.Path, float64(c.Perf.End.Sub(c.Perf.Start).Nanoseconds())/1000/1000))
|
log.Msg(fmt.Sprintf("Served [%s] %s in %.4fms", c.Perf.Method, c.Perf.Path, float64(c.Perf.End.Sub(c.Perf.Start).Nanoseconds())/1000/1000))
|
||||||
perfCollector.SubmitRun(c.Perf)
|
// perfCollector.SubmitRun(c.Perf) // TODO(asaf): Implement a use for this
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue