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

Commit

Permalink
Merge pull request #252 from mstuehlinger/fixes
Browse files Browse the repository at this point in the history
Allow nodes with an allocated space size of up to 8TiB.
  • Loading branch information
braydonf authored Sep 27, 2017
2 parents 494e56e + 3617099 commit 0c7b150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ exports._isValidDirectory = function(directory) {
exports._isValidSize = function(size) {
return typeof size === 'number'
&& size >= 0
&& size <= 8e+12; // 8TB
&& size <= 8 * Math.pow(2, 40); // 8TiB
};

/**
Expand Down

0 comments on commit 0c7b150

Please sign in to comment.