Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit 0b3b799

Browse files
committed
align client limits with api ones
1 parent 9d0e387 commit 0b3b799

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Optional `opts` include:
177177
message: undefined, // a short message to associate with the deploy
178178
deployTimeout: 1.2e6, // 20 mins
179179
parallelHash: 100, // number of parallel hashing calls
180-
parallelUpload: 15, // number of files to upload in parallel
180+
parallelUpload: 5, // number of files to upload in parallel
181181
maxRetry: 5, // number of times to try on failed file uploads
182182
filter: filepath => { /* return false to filter a file from the deploy */ },
183183
tmpDir: tempy.directory(), // a temporary directory to zip functions into

src/deploy/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = async (api, siteId, dir, opts) => {
2020
tmpDir: tempy.directory(),
2121
deployTimeout: 1.2e6, // local deploy timeout: 20 mins
2222
concurrentHash: 100, // concurrent file hash calls
23-
concurrentUpload: 15, // Number of concurrent uploads
23+
concurrentUpload: 5, // Number of concurrent uploads
2424
filter: defaultFilter,
2525
syncFileLimit: 100, // number of files
2626
maxRetry: 5, // number of times to retry an upload

0 commit comments

Comments
 (0)