Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/deploy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down