diff --git a/README.md b/README.md index 5f13ae7..1e7c1ea 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ Optional `opts` include: message: undefined, // a short message to associate with the deploy deployTimeout: 1.2e6, // 20 mins parallelHash: 100, // number of parallel hashing calls - parallelUpload: 15, // number of files to upload in parallel + parallelUpload: 5, // number of files to upload in parallel maxRetry: 5, // number of times to try on failed file uploads filter: filepath => { /* return false to filter a file from the deploy */ }, tmpDir: tempy.directory(), // a temporary directory to zip functions into diff --git a/src/deploy/index.js b/src/deploy/index.js index 83778cd..c78dc0d 100644 --- a/src/deploy/index.js +++ b/src/deploy/index.js @@ -20,7 +20,7 @@ module.exports = async (api, siteId, dir, opts) => { tmpDir: tempy.directory(), deployTimeout: 1.2e6, // local deploy timeout: 20 mins concurrentHash: 100, // concurrent file hash calls - concurrentUpload: 15, // Number of concurrent uploads + concurrentUpload: 5, // Number of concurrent uploads filter: defaultFilter, syncFileLimit: 100, // number of files maxRetry: 5, // number of times to retry an upload