mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update load-streams.js
This commit is contained in:
parent
7c8f5612ba
commit
2aa5766506
4 changed files with 8 additions and 8 deletions
|
@ -15,7 +15,7 @@ const config = {
|
|||
debug: options.debug
|
||||
}
|
||||
|
||||
const LOGS_PATH = process.env.LOGS_PATH || 'scripts/logs'
|
||||
const LOGS_PATH = process.env.LOGS_PATH || 'scripts/logs/load-streams'
|
||||
|
||||
async function main() {
|
||||
logger.info('starting...')
|
||||
|
@ -23,7 +23,7 @@ async function main() {
|
|||
logger.info(`delay: ${options.delay}ms`)
|
||||
timer.start()
|
||||
|
||||
const clusterLog = `${LOGS_PATH}/load-streams/cluster_${options.clusterId}.log`
|
||||
const clusterLog = `${LOGS_PATH}/cluster_${options.clusterId}.log`
|
||||
logger.info(`loading cluster: ${options.clusterId}`)
|
||||
logger.info(`creating '${clusterLog}'...`)
|
||||
await file.create(clusterLog)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue