Permalink
Browse files

Log stats

  • Loading branch information...
1 parent ecabfa0 commit e620ad1657dc8fc529eef4c59c835ea394a2c7b7 @DMarby committed Feb 6, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 index.js
View
@@ -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)

0 comments on commit e620ad1

Please sign in to comment.