Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OPENTECH
/
yoho-node-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
2
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
2016-06-08 09:52:48 +0800
Commit
d60bcfd2e08ad5b25c4628a76ee568b5bc05fdad
1 parent
e0f0af5a
sftp change upload chunk size smaill
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
apps/ci/deploy.js
apps/ci/deploy.js
View file @
d60bcfd
...
...
@@ -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
);
...
...
Please
register
or
login
to post a comment