We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cef56f commit ce893fcCopy full SHA for ce893fc
lib/wpt/index.js
@@ -79,9 +79,13 @@ export class WPTUpdater {
79
await removeDirectory(this.fixtures(this.path));
80
81
this.cli.startSpinner('Pulling assets...');
82
- await Promise.all(assets.map(
83
- (asset) => this.pullTextFile(fixtures, asset.name)
84
- ));
+ // See https://github.com/nodejs/node-core-utils/issues/810
+ for (let i = 0; i < assets.length; i += 10) {
+ const chunk = assets.slice(i, i + 10);
85
+ await Promise.all(chunk.map(
86
+ (asset) => this.pullTextFile(fixtures, asset.name)
87
+ ));
88
+ }
89
this.cli.stopSpinner(`Downloaded ${assets.length} assets.`);
90
91
return assets;
0 commit comments