Skip to content

Commit

Permalink
Merge pull request #39 from snyk-tech-services/feat/allow-40-max-conc…
Browse files Browse the repository at this point in the history
…urrent

feat: allow 40 imports
  • Loading branch information
lili2311 authored Jun 5, 2020
2 parents 480cff0 + 1e9c107 commit e02ac7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/get-concurrent-imports-number.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export function getConcurrentImportsNumber(): number {
let importsNumber = parseInt(process.env.CONCURRENT_IMPORTS || '5');
if (importsNumber > 20) {
// never more than 20!
importsNumber = 20;
let importsNumber = parseInt(process.env.CONCURRENT_IMPORTS || '15');
if (importsNumber > 40) {
// never more than 40!
importsNumber = 40;
}
return importsNumber;
}

0 comments on commit e02ac7a

Please sign in to comment.