You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/app-builder-lib/scheme.json
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -428,6 +428,20 @@
428
428
],
429
429
"type": "object"
430
430
},
431
+
"Concurrency": {
432
+
"additionalProperties": false,
433
+
"properties": {
434
+
"jobs": {
435
+
"default": 1,
436
+
"description": "The maximum number of concurrent jobs to run.",
437
+
"type": "number"
438
+
}
439
+
},
440
+
"required": [
441
+
"jobs"
442
+
],
443
+
"type": "object"
444
+
},
431
445
"CustomNsisBinary": {
432
446
"additionalProperties": false,
433
447
"properties": {
@@ -6924,6 +6938,17 @@
6924
6938
"default": "normal",
6925
6939
"description": "The compression level. If you want to rapidly test build, `store` can reduce build time significantly. `maximum` doesn't lead to noticeable size difference, but increase build time."
6926
6940
},
6941
+
"concurrency": {
6942
+
"anyOf": [
6943
+
{
6944
+
"$ref": "#/definitions/Concurrency"
6945
+
},
6946
+
{
6947
+
"type": "null"
6948
+
}
6949
+
],
6950
+
"description": "[Experimental] Configuration for concurrent builds."
* Whether to use [electron-compile](http://github.com/electron/electron-compile) to compile app. Defaults to `true` if `electron-compile` in the dependencies. And `false` if in the `devDependencies` or doesn't specified.
log.warn({concurrency: poolCount},"concurrency is invalid, overriding with job count: 1")
487
+
poolCount=1
488
+
}elseif(poolCount>MAX_FILE_REQUESTS){
489
+
log.warn(
490
+
{concurrency: poolCount,MAX_FILE_REQUESTS},
491
+
`job concurrency is greater than recommended MAX_FILE_REQUESTS, this may lead to File Descriptor errors (too many files open). Proceed with caution (e.g. this is an experimental feature)`
0 commit comments