Filter out telemetry from when not needed
This commit is contained in:
1 parent
207f96c882
commit
0c79787161
16 files changed
+63
-56
No files matched your search
@@ -171,9 +171,7 @@ namespace Http
|
||||
end for
|
||||
|
||||
if includedQualitiesCount = 0
|
||||
m.noTelemetry = true
|
||||
LogWarn("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
|
||||
m.noTelemetry = false
|
||||
LogWarnNoTelemetry("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
|
||||
return hlsManifest
|
||||
end if
|
||||
return newLines.join(`\n`)
|
||||
|
||||
+1
-3
@@ -214,9 +214,7 @@ namespace Http
|
||||
if not hasContinuation
|
||||
page = ValidString(request.query.page).ToInt()
|
||||
if page > 1
|
||||
m.noTelemetry = true
|
||||
LogError("Playlet backend does not use history pagination (use continuation instead)")
|
||||
m.noTelemetry = false
|
||||
LogErrorNoTelemetry("Playlet backend does not use history pagination (use continuation instead)")
|
||||
response.Json({
|
||||
"items": []
|
||||
})
|
||||
|
||||
@@ -165,9 +165,7 @@ namespace Http
|
||||
if m.socket.eSuccess()
|
||||
LogDebug(op + " peer closed @" + m.client)
|
||||
else
|
||||
m.noTelemetry = true
|
||||
LogError(op + " transfer error @" + m.client, m.socket.status())
|
||||
m.noTelemetry = false
|
||||
LogErrorNoTelemetry(op + " transfer error @" + m.client, m.socket.status())
|
||||
end if
|
||||
m.close = true
|
||||
m.SetState(Http.HttpConnectionState.DONE)
|
||||
|
||||
Reference in new issue
Block a user