|
|
@ -131,13 +131,13 @@ var upload = function (Env, safeKey, content, cb) {
|
|
|
|
blobstage.write(dec);
|
|
|
|
blobstage.write(dec);
|
|
|
|
session.currentUploadSize += len;
|
|
|
|
session.currentUploadSize += len;
|
|
|
|
cb(void 0, dec.length);
|
|
|
|
cb(void 0, dec.length);
|
|
|
|
Env.incrementBytesWritten(len);
|
|
|
|
//Env.incrementBytesWritten(len);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
session.blobstage.write(dec);
|
|
|
|
session.blobstage.write(dec);
|
|
|
|
session.currentUploadSize += len;
|
|
|
|
session.currentUploadSize += len;
|
|
|
|
cb(void 0, dec.length);
|
|
|
|
cb(void 0, dec.length);
|
|
|
|
Env.incrementBytesWritten(len);
|
|
|
|
//Env.incrementBytesWritten(len);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|