fix: reduce hls playback churn

This commit is contained in:
2026-06-18 20:50:44 +02:00
committed by Milas Holsting
parent 9e0f2231b5
commit bda3c58a98
4 changed files with 91 additions and 18 deletions

View File

@@ -44,6 +44,9 @@ func RequestLogger(metrics *observability.Metrics) gin.HandlerFunc {
if len(privateErrors) > 0 {
logErr = privateErrors.Last().Err
}
if route == "/watch/proxy/stream" && status < 400 && len(privateErrors) == 0 {
return
}
if route != path {
fields["route"] = route
}