Disable submission to perfCollector.

This commit is contained in:
Asaf Gartner 2021-09-23 23:03:28 +03:00
parent 89e58c9a24
commit f5708d1ea8
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ func TrackRequestPerf(c *RequestContext, perfCollector *perf.PerfCollector) (aft
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))
perfCollector.SubmitRun(c.Perf)
// perfCollector.SubmitRun(c.Perf) // TODO(asaf): Implement a use for this
}
}