mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 11:58:35 -04:00
Update cluster/load.js
This commit is contained in:
1 parent
9e93ab4415
commit
ba7516f1b1
2 files changed
+9
-3
No files matched your search
@@ -42,7 +42,13 @@ async function main() {
|
||||
} else {
|
||||
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]')}`)
|
||||
|
||||
Reference in new issue
Block a user