Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Added comment for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
aleitner committed Sep 9, 2016
1 parent 654dc36 commit f8a0d28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/file-handling/file-demuxer.js
Expand Up @@ -169,6 +169,9 @@ FileDemuxer.getOptimalShardSize = function(fileInfo, acc) {
hops = hops - 1 <= 0 ? 0 : hops - 1;
}

console.log('shard size is '+shardSize(hops));
console.log('free mem is '+os.freemem());

return shardSize(hops);
}

Expand Down

0 comments on commit f8a0d28

Please sign in to comment.