diff --git a/lib/storage/blob.js b/lib/storage/blob.js index 006f5ca80..21f38a73a 100644 --- a/lib/storage/blob.js +++ b/lib/storage/blob.js @@ -204,14 +204,12 @@ var tryId = function (path, cb) { Fs.access(path, Fs.constants.R_OK | Fs.constants.W_OK, function (e) { if (!e) { // generate a new id (with the same prefix) and recurse - //WARN('ownedUploadComplete', 'id is already used '+ id); return void cb('EEXISTS'); } else if (e.code === 'ENOENT') { // no entry, so it's safe for us to proceed return void cb(); } else { // it failed in an unexpected way. log it - //WARN('ownedUploadComplete', e); return void cb(e.code); } }); @@ -229,7 +227,6 @@ var owned_upload_complete = function (Env, safeKey, id, cb) { } if (!isValidId(id)) { - //WARN('ownedUploadComplete', "id is invalid"); return void cb('EINVAL_ID'); } diff --git a/lib/storage/file.js b/lib/storage/file.js index b209cb597..16f8c8ba7 100644 --- a/lib/storage/file.js +++ b/lib/storage/file.js @@ -996,8 +996,6 @@ module.exports.create = function (conf, _cb) { root: conf.filePath || './datastore', archiveRoot: conf.archivePath || './data/archive', channels: { }, - channelExpirationMs: conf.channelExpirationMs || 30000, - verbose: conf.verbose, batchGetChannel: BatchRead('store_batch_channel'), }; var it;