Update cluster/load.js
This commit is contained in:
parent
b9eb8095e4
commit
c49a99b3d3
@ -42,7 +42,13 @@ async function main() {
|
|||||||
} else {
|
} else {
|
||||||
logger.info(`${message} (${result.error})`)
|
logger.info(`${message} (${result.error})`)
|
||||||
}
|
}
|
||||||
await file.append(clusterLog, JSON.stringify(result) + '\n')
|
const output = {
|
||||||
|
_id: result._id,
|
||||||
|
error: result.error,
|
||||||
|
streams: result.streams,
|
||||||
|
requests: result.requests
|
||||||
|
}
|
||||||
|
await file.append(clusterLog, JSON.stringify(output) + '\n')
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info(`done in ${timer.format('HH[h] mm[m] ss[s]')}`)
|
logger.info(`done in ${timer.format('HH[h] mm[m] ss[s]')}`)
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
{"_id":"2ST8btby3mmsgPF0","url":"http://46.46.143.222:1935/live/mp4:ldpr.stream/playlist.m3u8","http":{"referrer":"","user-agent":""},"error":"Operation timed out","streams":[],"requests":[]}
|
{"_id":"2ST8btby3mmsgPF0","error":"Operation timed out","streams":[],"requests":[]}
|
||||||
{"_id":"I6cjG2xCBRFFP4sz","url":"https://iptv-all.lanesh4d0w.repl.co/andorra/atv","http":{"referrer":"","user-agent":""},"error":"Operation timed out","streams":[],"requests":[]}
|
{"_id":"I6cjG2xCBRFFP4sz","error":"Operation timed out","streams":[],"requests":[]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user