mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
wip
This commit is contained in:
parent
d068f5083f
commit
557a05ddac
13 changed files with 3046 additions and 142057 deletions
|
@ -18,7 +18,7 @@ async function main() {
|
|||
logger.info(`Loading cluster: ${options.clusterId}`)
|
||||
logger.info(`Creating '${clusterLog}'...`)
|
||||
await file.create(clusterLog)
|
||||
const items = await db.find({ cluster_id: options.clusterId })
|
||||
const items = await db.channels.find({ cluster_id: options.clusterId })
|
||||
const days = options.days || 1
|
||||
const total = days * items.length
|
||||
logger.info(`Total ${total} requests`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue