Skip to content

Commit

Permalink
fix: raise concurrency limit (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph authored Jan 18, 2024
1 parent 6ae7f6b commit 7242604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/streams/bunyan-trace-event/options/normalizeOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ function validateThreadGroup(threadGroup: ThreadGroupConfig, index: number) {
);
}

if (threadGroup.maxConcurrency > 100_500) {
if (threadGroup.maxConcurrency > 1e6) {
throw new Error(
`Max concurrency (${threadGroup.id} -> ${threadGroup.maxConcurrency}) cannot be greater than 100,500`,
`Max concurrency (${threadGroup.id} -> ${threadGroup.maxConcurrency}) cannot be greater than 1,000,000`,
);
}
}
Expand Down

0 comments on commit 7242604

Please sign in to comment.