Skip to content

Commit

Permalink
Log stats
Browse files Browse the repository at this point in the history
  • Loading branch information
DMarby committed Feb 6, 2016
1 parent ecabfa0 commit e620ad1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -72,6 +72,8 @@ if (cluster.isMaster) {
exited = true
}

console.log('Current stats:', stats)

fs.writeFileSync(config.stats_path, JSON.stringify(stats), 'utf8')
fs.writeFileSync(config.cache_metadata_path, JSON.stringify(cache), 'utf8')
process.exit(0)
Expand Down

0 comments on commit e620ad1

Please sign in to comment.