We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3696df9 commit 9c088c8Copy full SHA for 9c088c8
src/component/config.ts
@@ -19,9 +19,7 @@ export const update = mutation({
19
export function validateConfig(config: Partial<Config>) {
20
if (config.maxParallelism !== undefined) {
21
if (config.maxParallelism > MAX_POSSIBLE_PARALLELISM) {
22
- throw new Error(
23
- `maxParallelism must be <= ${MAX_PARALLELISM_SOFT_LIMIT}`,
24
- );
+ throw new Error(`maxParallelism must be <= ${MAX_POSSIBLE_PARALLELISM}`);
25
} else if (config.maxParallelism > MAX_PARALLELISM_SOFT_LIMIT) {
26
createLogger(config.logLevel ?? DEFAULT_LOG_LEVEL).warn(
27
`maxParallelism should be <= ${MAX_PARALLELISM_SOFT_LIMIT}, but is set to ${config.maxParallelism}. This will be an error in a future version.`,
0 commit comments