Skip to content

Commit 5140c0d

Browse files
committed
Increased number of parallel uploads of source map artifacts for better performance.
1 parent 587de2c commit 5140c0d

4 files changed

Lines changed: 1008 additions & 1003 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,13 @@ Check out the `filterLocal` configuration setting. If you test Sentry locally an
363363

364364
## Version History
365365

366+
### 2.5.3
367+
368+
- Increased number of parallel uploads of source map artifacts for better performance.
369+
366370
### 2.5.2
367371

368-
- Upload multiple source maps artifacts in parallel for better performance.
372+
- Upload multiple source map artifacts in parallel for better performance.
369373

370374
### 2.5.1
371375

dist/index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,9 @@ var SentryPlugin = /** @class */ (function () {
562562
}
563563
});
564564
});
565-
// Upload artifacts
566-
return [4 /*yield*/, promise_pool_1.PromisePool.withConcurrency(5)
565+
// Upload artifacts in parallel. 50 parallel web sockets is the default of the AWS JavaScript SDK.
566+
// see https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-configuring-maxsockets.html
567+
return [4 /*yield*/, promise_pool_1.PromisePool.withConcurrency(50)
567568
.for(results)
568569
.process(function (nextArtifact) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
569570
switch (_a.label) {
@@ -572,7 +573,8 @@ var SentryPlugin = /** @class */ (function () {
572573
}
573574
}); }); })];
574575
case 1:
575-
// Upload artifacts
576+
// Upload artifacts in parallel. 50 parallel web sockets is the default of the AWS JavaScript SDK.
577+
// see https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-configuring-maxsockets.html
576578
_a.sent();
577579
return [2 /*return*/];
578580
}

0 commit comments

Comments
 (0)