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

Allow nodes with an allocated space size of up to 8TiB. #252

Merged
merged 2 commits into from
Sep 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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