Update save-results.js

This commit is contained in:
Aleksandr Statciuk 2022-01-15 18:21:51 +03:00
parent a19ebb96ad
commit cba419710c
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ const _ = require('lodash')
const LOGS_DIR = process.env.LOGS_DIR || 'scripts/logs'
async function main() {
await db.programs.load()
await db.programs.reset()
const files = await file.list(`${LOGS_DIR}/load-cluster/cluster_*.log`)
for (const filepath of files) {