SceneSolo: Minor fixes (#82289)
* SceneSolo: Minor fixes * remove logging
This commit is contained in:
@@ -74,6 +74,7 @@ func (l *loggerImpl) Middleware() web.Middleware {
|
||||
duration := time.Since(start)
|
||||
timeTaken := duration / time.Millisecond
|
||||
ctx := contexthandler.FromContext(r.Context())
|
||||
|
||||
if ctx != nil && ctx.PerfmonTimer != nil {
|
||||
ctx.PerfmonTimer.Observe(float64(timeTaken))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user