Skip to content

Commit

Permalink
fix(gatsby-source-contentful): set default for contentful asset worke…
Browse files Browse the repository at this point in the history
…rs (#27586)

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
  • Loading branch information
pvdz and gatsbybot committed Oct 21, 2020
1 parent 0fdd3e9 commit d372db8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const bar = new ProgressBar(
/**
* @name distributeWorkload
* @param workers A list of async functions to complete
* @param {number} count The number of task runners to use
* @param {number} count The number of task runners to use (see assetDownloadWorkers in config)
*/

async function distributeWorkload(workers, count) {
async function distributeWorkload(workers, count = 50) {
const methods = workers.slice()

async function task() {
Expand Down

0 comments on commit d372db8

Please sign in to comment.