Authored by 姜枫

sftp change upload chunk size smaill

... ... @@ -95,10 +95,7 @@ class Deploy {
reject(err);
} else {
sftp.fastPut(self.localFile, self.remoteFile, {
step: (total, chunk, all) => {
//self._log(` uploading: ${total}/${all}`);
}
chunkSize: 10240
}, (err) => {
if (err) {
reject(err);
... ...