SceneSolo: Minor fixes (#82289)

* SceneSolo: Minor fixes

* remove logging
This commit is contained in:
Torkel Ödegaard
2024-02-12 16:23:12 +01:00
committed by GitHub
parent cd09c36448
commit 8f36f905ee
5 changed files with 15 additions and 5 deletions
+1
View File
@@ -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))
}