Remove unused 'timeout' field from telemetry
This commit is contained in:
@@ -66,7 +66,6 @@ function reset () {
|
||||
minVersion: config.APP_VERSION,
|
||||
total: 0,
|
||||
success: 0,
|
||||
timeout: 0,
|
||||
error: 0,
|
||||
abandoned: 0
|
||||
}
|
||||
@@ -210,10 +209,10 @@ function getElemString (elem) {
|
||||
return ret
|
||||
}
|
||||
|
||||
// The user pressed play. It either worked, timed out, or showed the
|
||||
// The user pressed play. It either worked or showed the
|
||||
// 'Play in VLC' codec error
|
||||
function logPlayAttempt (result) {
|
||||
if (!['success', 'timeout', 'error', 'abandoned'].includes(result)) {
|
||||
if (!['success', 'error', 'abandoned'].includes(result)) {
|
||||
return console.error('Unknown play attempt result', result)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user