From a3aeffde131d87803079e8c1a2f3865de850dfc2 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Mon, 16 Jun 2014 18:43:26 -0700 Subject: [PATCH] remove filesize restriction --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index e5fcc5d..d3f34a3 100644 --- a/index.js +++ b/index.js @@ -30,7 +30,6 @@ function getMetadata(file, callback) { fs.stat(file, function(err, stats) { if (err) return callback(invalid('Error getting stats from file. File might not exist.')); var filesize = stats['size']; - if (filesize > 216066856) return callback(invalid('File is larger than 200MB. Too big to process.')); getFileType(file, function(err, filetype) { if (err) return callback(err); processDatasource.init(file, filesize, filetype, function(err, metadata) {