@platformatic/nitro 3.71.1-alpha.0 → 4.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/nitro/3.71.1-alpha.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/nitro/4.0.0-alpha.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Nitro Config",
5
5
  "type": "object",
@@ -15,7 +15,8 @@
15
15
  "properties": {
16
16
  "level": {
17
17
  "type": "string",
18
- "description": "The log level. It must be one of the standard pino levels (fatal, error, warn, info, debug, trace, silent) or, when customLevels is set, one of the custom levels."
18
+ "minLength": 1,
19
+ "description": "A standard Pino log level or a level defined in customLevels."
19
20
  },
20
21
  "transport": {
21
22
  "anyOf": [
@@ -210,37 +211,9 @@
210
211
  "additionalProperties": false
211
212
  }
212
213
  },
213
- "if": {
214
- "not": {
215
- "required": [
216
- "customLevels"
217
- ]
218
- }
219
- },
220
- "then": {
221
- "properties": {
222
- "level": {
223
- "oneOf": [
224
- {
225
- "enum": [
226
- "fatal",
227
- "error",
228
- "warn",
229
- "info",
230
- "debug",
231
- "trace",
232
- "silent"
233
- ]
234
- },
235
- {
236
- "pattern": "^\\{.+\\}$"
237
- }
238
- ]
239
- }
240
- }
241
- },
242
214
  "default": {},
243
- "additionalProperties": true
215
+ "additionalProperties": true,
216
+ "title": "AppLoggerOptions"
244
217
  },
245
218
  "server": {
246
219
  "type": "object",
@@ -264,7 +237,7 @@
264
237
  "shared",
265
238
  "perWorkerIncrement"
266
239
  ],
267
- "description": "Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0)."
240
+ "description": "Configures how the port is assigned when the application runs multiple workers. When set to shared (the default), all workers listen on the same port (which requires SO_REUSEPORT support). When set to perWorkerIncrement, each worker listens on its own port, starting from port (worker 0) and incrementing by one for each additional worker."
268
241
  },
269
242
  "backlog": {
270
243
  "type": "integer",
@@ -361,10 +334,12 @@
361
334
  "required": [
362
335
  "key",
363
336
  "cert"
364
- ]
337
+ ],
338
+ "title": "HttpsOptions"
365
339
  }
366
340
  },
367
- "additionalProperties": false
341
+ "additionalProperties": false,
342
+ "title": "AppServerOptions"
368
343
  },
369
344
  "watch": {
370
345
  "anyOf": [
@@ -400,7 +375,8 @@
400
375
  "default": null
401
376
  }
402
377
  },
403
- "additionalProperties": false
378
+ "additionalProperties": false,
379
+ "title": "WatchOptions"
404
380
  },
405
381
  {
406
382
  "type": "boolean"
@@ -446,9 +422,6 @@
446
422
  "default": {},
447
423
  "additionalProperties": false
448
424
  },
449
- "entrypointPort": {
450
- "type": "number"
451
- },
452
425
  "changeDirectoryBeforeExecution": {
453
426
  "type": "boolean",
454
427
  "default": false
@@ -463,7 +436,8 @@
463
436
  },
464
437
  "additionalProperties": false,
465
438
  "required": [],
466
- "default": {}
439
+ "default": {},
440
+ "title": "BuildableApplicationOptions"
467
441
  },
468
442
  "runtime": {
469
443
  "type": "object",
@@ -508,7 +482,8 @@
508
482
  "type": "boolean",
509
483
  "default": false
510
484
  }
511
- }
485
+ },
486
+ "title": "ExtensionEntry"
512
487
  },
513
488
  {
514
489
  "type": "array",
@@ -537,7 +512,8 @@
537
512
  "type": "boolean",
538
513
  "default": false
539
514
  }
540
- }
515
+ },
516
+ "title": "ExtensionEntry"
541
517
  }
542
518
  ]
543
519
  }
@@ -592,21 +568,25 @@
592
568
  "resolvePath": true
593
569
  },
594
570
  "config": {
595
- "type": "string"
571
+ "anyOf": [
572
+ {
573
+ "type": "string"
574
+ },
575
+ {
576
+ "type": "object"
577
+ }
578
+ ]
596
579
  },
597
580
  "url": {
598
581
  "type": "string"
599
582
  },
583
+ "module": {
584
+ "type": "string"
585
+ },
600
586
  "gitBranch": {
601
587
  "type": "string",
602
588
  "default": "main"
603
589
  },
604
- "useHttp": {
605
- "type": "boolean"
606
- },
607
- "websocket": {
608
- "type": "boolean"
609
- },
610
590
  "reuseTcpPorts": {
611
591
  "type": "boolean",
612
592
  "default": true
@@ -614,7 +594,8 @@
614
594
  "workers": {
615
595
  "anyOf": [
616
596
  {
617
- "type": "number"
597
+ "type": "integer",
598
+ "minimum": 1
618
599
  },
619
600
  {
620
601
  "type": "string"
@@ -623,28 +604,32 @@
623
604
  "type": "object",
624
605
  "properties": {
625
606
  "static": {
626
- "type": "number",
607
+ "type": "integer",
627
608
  "minimum": 1
628
609
  },
610
+ "dynamic": {
611
+ "type": "boolean"
612
+ },
629
613
  "minimum": {
630
- "type": "number",
614
+ "type": "integer",
631
615
  "minimum": 1
632
616
  },
633
617
  "maximum": {
634
- "type": "number",
618
+ "type": "integer",
635
619
  "minimum": 0
636
620
  },
637
- "scaleUpELU": {
621
+ "eluThreshold": {
638
622
  "type": "number",
639
- "minimum": 0,
623
+ "exclusiveMinimum": 0,
640
624
  "maximum": 1
641
625
  },
642
- "scaleDownELU": {
626
+ "heapThresholdMb": {
643
627
  "type": "number",
644
- "minimum": 0,
645
- "maximum": 1
628
+ "exclusiveMinimum": 0
646
629
  }
647
- }
630
+ },
631
+ "additionalProperties": false,
632
+ "title": "ApplicationWorkersOptions"
648
633
  }
649
634
  ]
650
635
  },
@@ -797,7 +782,8 @@
797
782
  ]
798
783
  }
799
784
  },
800
- "additionalProperties": false
785
+ "additionalProperties": false,
786
+ "title": "ApplicationHealthOptions"
801
787
  },
802
788
  "restartOnError": {
803
789
  "description": "Overrides the runtime-level restartOnError for this application. Set to false or 0 to never restart the application when it crashes, a positive number to wait that amount of milliseconds between restarts, or true to use the default delay.",
@@ -896,14 +882,15 @@
896
882
  "additionalProperties": false
897
883
  }
898
884
  },
899
- "additionalProperties": false
885
+ "additionalProperties": false,
886
+ "title": "PermissionsOptions"
900
887
  },
901
- "telemetry": {
888
+ "tracing": {
902
889
  "type": "object",
903
890
  "properties": {
904
891
  "instrumentations": {
905
892
  "type": "array",
906
- "description": "An array of instrumentations loaded if telemetry is enabled",
893
+ "description": "An array of instrumentations loaded if tracing is enabled",
907
894
  "items": {
908
895
  "oneOf": [
909
896
  {
@@ -930,7 +917,8 @@
930
917
  ]
931
918
  }
932
919
  }
933
- }
920
+ },
921
+ "title": "ApplicationTelemetryOverrides"
934
922
  },
935
923
  "compileCache": {
936
924
  "anyOf": [
@@ -948,9 +936,14 @@
948
936
  "directory": {
949
937
  "type": "string",
950
938
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
939
+ },
940
+ "awaitFirstWorker": {
941
+ "type": "boolean",
942
+ "description": "Wait for the first worker to start before starting the remaining workers"
951
943
  }
952
944
  },
953
- "additionalProperties": false
945
+ "additionalProperties": false,
946
+ "title": "CompileCacheOptions"
954
947
  }
955
948
  ]
956
949
  },
@@ -977,13 +970,14 @@
977
970
  }
978
971
  ]
979
972
  }
980
- }
973
+ },
974
+ "title": "ApplicationEntry"
981
975
  }
982
976
  },
983
977
  "workers": {
984
978
  "anyOf": [
985
979
  {
986
- "type": "number",
980
+ "type": "integer",
987
981
  "minimum": 1
988
982
  },
989
983
  {
@@ -993,48 +987,94 @@
993
987
  "type": "object",
994
988
  "properties": {
995
989
  "static": {
996
- "type": "number",
990
+ "type": "integer",
997
991
  "minimum": 1
998
992
  },
999
993
  "dynamic": {
1000
- "type": "boolean",
1001
- "default": false
994
+ "type": "boolean"
1002
995
  },
1003
996
  "minimum": {
1004
- "type": "number",
997
+ "type": "integer",
1005
998
  "minimum": 1
1006
999
  },
1007
1000
  "maximum": {
1008
- "type": "number",
1001
+ "type": "integer",
1009
1002
  "minimum": 0
1010
1003
  },
1011
1004
  "total": {
1012
- "type": "number",
1005
+ "type": "integer",
1013
1006
  "minimum": 1
1014
1007
  },
1015
1008
  "maxMemory": {
1016
1009
  "type": "number",
1017
1010
  "minimum": 0
1018
1011
  },
1019
- "cooldown": {
1012
+ "eluThreshold": {
1013
+ "type": "number",
1014
+ "exclusiveMinimum": 0,
1015
+ "maximum": 1
1016
+ },
1017
+ "heapThresholdMb": {
1018
+ "type": "number",
1019
+ "exclusiveMinimum": 0
1020
+ },
1021
+ "processIntervalMs": {
1020
1022
  "type": "number",
1021
1023
  "minimum": 0
1022
1024
  },
1023
- "gracePeriod": {
1025
+ "maxScaleUpStep": {
1026
+ "type": "integer",
1027
+ "minimum": 1
1028
+ },
1029
+ "redistributionMs": {
1024
1030
  "type": "number",
1025
1031
  "minimum": 0
1026
1032
  },
1027
- "scaleUpELU": {
1033
+ "alphaUp": {
1034
+ "type": "number",
1035
+ "minimum": 0,
1036
+ "maximum": 1
1037
+ },
1038
+ "alphaDown": {
1028
1039
  "type": "number",
1029
1040
  "minimum": 0,
1030
1041
  "maximum": 1
1031
1042
  },
1032
- "scaleDownELU": {
1043
+ "betaUp": {
1033
1044
  "type": "number",
1034
1045
  "minimum": 0,
1035
1046
  "maximum": 1
1047
+ },
1048
+ "betaDown": {
1049
+ "type": "number",
1050
+ "minimum": 0,
1051
+ "maximum": 1
1052
+ },
1053
+ "cooldowns": {
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "scaleUpAfterScaleUpMs": {
1057
+ "type": "number",
1058
+ "minimum": 0
1059
+ },
1060
+ "scaleUpAfterScaleDownMs": {
1061
+ "type": "number",
1062
+ "minimum": 0
1063
+ },
1064
+ "scaleDownAfterScaleUpMs": {
1065
+ "type": "number",
1066
+ "minimum": 0
1067
+ },
1068
+ "scaleDownAfterScaleDownMs": {
1069
+ "type": "number",
1070
+ "minimum": 0
1071
+ }
1072
+ },
1073
+ "additionalProperties": false
1036
1074
  }
1037
- }
1075
+ },
1076
+ "additionalProperties": false,
1077
+ "title": "WorkersOptions"
1038
1078
  }
1039
1079
  ]
1040
1080
  },
@@ -1055,7 +1095,8 @@
1055
1095
  "properties": {
1056
1096
  "level": {
1057
1097
  "type": "string",
1058
- "description": "The log level. It must be one of the standard pino levels (fatal, error, warn, info, debug, trace, silent) or, when customLevels is set, one of the custom levels."
1098
+ "minLength": 1,
1099
+ "description": "A standard Pino log level or a level defined in customLevels."
1059
1100
  },
1060
1101
  "transport": {
1061
1102
  "anyOf": [
@@ -1250,164 +1291,9 @@
1250
1291
  "additionalProperties": false
1251
1292
  }
1252
1293
  },
1253
- "if": {
1254
- "not": {
1255
- "required": [
1256
- "customLevels"
1257
- ]
1258
- }
1259
- },
1260
- "then": {
1261
- "properties": {
1262
- "level": {
1263
- "oneOf": [
1264
- {
1265
- "enum": [
1266
- "fatal",
1267
- "error",
1268
- "warn",
1269
- "info",
1270
- "debug",
1271
- "trace",
1272
- "silent"
1273
- ]
1274
- },
1275
- {
1276
- "pattern": "^\\{.+\\}$"
1277
- }
1278
- ]
1279
- }
1280
- }
1281
- },
1282
1294
  "default": {},
1283
- "additionalProperties": true
1284
- },
1285
- "server": {
1286
- "type": "object",
1287
- "properties": {
1288
- "hostname": {
1289
- "type": "string"
1290
- },
1291
- "port": {
1292
- "anyOf": [
1293
- {
1294
- "type": "integer"
1295
- },
1296
- {
1297
- "type": "string"
1298
- }
1299
- ]
1300
- },
1301
- "portAssignment": {
1302
- "type": "string",
1303
- "enum": [
1304
- "shared",
1305
- "perWorkerIncrement"
1306
- ],
1307
- "description": "Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0)."
1308
- },
1309
- "backlog": {
1310
- "type": "integer",
1311
- "description": "The maximum length of the queue of pending connections"
1312
- },
1313
- "http2": {
1314
- "type": "boolean"
1315
- },
1316
- "https": {
1317
- "type": "object",
1318
- "properties": {
1319
- "allowHTTP1": {
1320
- "type": "boolean"
1321
- },
1322
- "key": {
1323
- "anyOf": [
1324
- {
1325
- "type": "string"
1326
- },
1327
- {
1328
- "type": "object",
1329
- "properties": {
1330
- "path": {
1331
- "type": "string",
1332
- "resolvePath": true
1333
- }
1334
- },
1335
- "additionalProperties": false
1336
- },
1337
- {
1338
- "type": "array",
1339
- "items": {
1340
- "anyOf": [
1341
- {
1342
- "type": "string"
1343
- },
1344
- {
1345
- "type": "object",
1346
- "properties": {
1347
- "path": {
1348
- "type": "string",
1349
- "resolvePath": true
1350
- }
1351
- },
1352
- "additionalProperties": false
1353
- }
1354
- ]
1355
- }
1356
- }
1357
- ]
1358
- },
1359
- "cert": {
1360
- "anyOf": [
1361
- {
1362
- "type": "string"
1363
- },
1364
- {
1365
- "type": "object",
1366
- "properties": {
1367
- "path": {
1368
- "type": "string",
1369
- "resolvePath": true
1370
- }
1371
- },
1372
- "additionalProperties": false
1373
- },
1374
- {
1375
- "type": "array",
1376
- "items": {
1377
- "anyOf": [
1378
- {
1379
- "type": "string"
1380
- },
1381
- {
1382
- "type": "object",
1383
- "properties": {
1384
- "path": {
1385
- "type": "string",
1386
- "resolvePath": true
1387
- }
1388
- },
1389
- "additionalProperties": false
1390
- }
1391
- ]
1392
- }
1393
- }
1394
- ]
1395
- },
1396
- "requestCert": {
1397
- "type": "boolean"
1398
- },
1399
- "rejectUnauthorized": {
1400
- "type": "boolean"
1401
- }
1402
- },
1403
- "additionalProperties": false,
1404
- "required": [
1405
- "key",
1406
- "cert"
1407
- ]
1408
- }
1409
- },
1410
- "additionalProperties": false
1295
+ "additionalProperties": true,
1296
+ "title": "AppLoggerOptions"
1411
1297
  },
1412
1298
  "reuseTcpPorts": {
1413
1299
  "type": "boolean",
@@ -1479,7 +1365,8 @@
1479
1365
  "runtime",
1480
1366
  "application"
1481
1367
  ],
1482
- "additionalProperties": false
1368
+ "additionalProperties": false,
1369
+ "title": "GracefulShutdownOptions"
1483
1370
  },
1484
1371
  "health": {
1485
1372
  "type": "object",
@@ -1641,7 +1528,8 @@
1641
1528
  "default": 262144
1642
1529
  }
1643
1530
  },
1644
- "additionalProperties": false
1531
+ "additionalProperties": false,
1532
+ "title": "HealthOptions"
1645
1533
  },
1646
1534
  "healthProbes": {
1647
1535
  "anyOf": [
@@ -1758,7 +1646,8 @@
1758
1646
  ]
1759
1647
  }
1760
1648
  },
1761
- "additionalProperties": false
1649
+ "additionalProperties": false,
1650
+ "title": "HealthProbesOptions"
1762
1651
  }
1763
1652
  ],
1764
1653
  "default": true
@@ -1855,7 +1744,8 @@
1855
1744
  }
1856
1745
  ]
1857
1746
  }
1858
- }
1747
+ },
1748
+ "title": "UndiciOptions"
1859
1749
  },
1860
1750
  "httpCache": {
1861
1751
  "oneOf": [
@@ -1911,7 +1801,8 @@
1911
1801
  "default": "shared",
1912
1802
  "description": "Cache type. \"shared\" caches may be shared between users, \"private\" caches are user-specific."
1913
1803
  }
1914
- }
1804
+ },
1805
+ "title": "HttpCacheOptions"
1915
1806
  }
1916
1807
  ]
1917
1808
  },
@@ -1952,7 +1843,8 @@
1952
1843
  "description": "Custom path for the control socket. If not specified, uses the default platform-specific location."
1953
1844
  }
1954
1845
  },
1955
- "additionalProperties": false
1846
+ "additionalProperties": false,
1847
+ "title": "ManagementApiOptions"
1956
1848
  }
1957
1849
  ],
1958
1850
  "default": true
@@ -2105,7 +1997,8 @@
2105
1997
  "required": [
2106
1998
  "key",
2107
1999
  "cert"
2108
- ]
2000
+ ],
2001
+ "title": "HttpsOptions"
2109
2002
  },
2110
2003
  "auth": {
2111
2004
  "type": "object",
@@ -2384,11 +2277,13 @@
2384
2277
  }
2385
2278
  }
2386
2279
  },
2387
- "additionalProperties": false
2280
+ "additionalProperties": false,
2281
+ "title": "MetricsOptions"
2388
2282
  }
2389
- ]
2283
+ ],
2284
+ "default": false
2390
2285
  },
2391
- "telemetry": {
2286
+ "tracing": {
2392
2287
  "type": "object",
2393
2288
  "properties": {
2394
2289
  "enabled": {
@@ -2559,66 +2454,8 @@
2559
2454
  "required": [
2560
2455
  "applicationName"
2561
2456
  ],
2562
- "additionalProperties": false
2563
- },
2564
- "verticalScaler": {
2565
- "type": "object",
2566
- "properties": {
2567
- "enabled": {
2568
- "type": "boolean",
2569
- "default": true
2570
- },
2571
- "maxTotalWorkers": {
2572
- "type": "number",
2573
- "minimum": 1
2574
- },
2575
- "maxTotalMemory": {
2576
- "type": "number",
2577
- "minimum": 0
2578
- },
2579
- "minWorkers": {
2580
- "type": "number",
2581
- "minimum": 1
2582
- },
2583
- "maxWorkers": {
2584
- "type": "number",
2585
- "minimum": 1
2586
- },
2587
- "cooldownSec": {
2588
- "type": "number",
2589
- "minimum": 0
2590
- },
2591
- "gracePeriod": {
2592
- "type": "number",
2593
- "minimum": 0
2594
- },
2595
- "scaleUpELU": {
2596
- "type": "number",
2597
- "minimum": 0,
2598
- "maximum": 1
2599
- },
2600
- "scaleDownELU": {
2601
- "type": "number",
2602
- "minimum": 0,
2603
- "maximum": 1
2604
- },
2605
- "timeWindowSec": {
2606
- "type": "number",
2607
- "minimum": 0,
2608
- "deprecated": true
2609
- },
2610
- "scaleDownTimeWindowSec": {
2611
- "type": "number",
2612
- "minimum": 0,
2613
- "deprecated": true
2614
- },
2615
- "scaleIntervalSec": {
2616
- "type": "number",
2617
- "minimum": 0,
2618
- "deprecated": true
2619
- }
2620
- },
2621
- "additionalProperties": false
2457
+ "additionalProperties": false,
2458
+ "title": "TelemetryOptions"
2622
2459
  },
2623
2460
  "inspectorOptions": {
2624
2461
  "type": "object",
@@ -2703,72 +2540,6 @@
2703
2540
  },
2704
2541
  "default": []
2705
2542
  },
2706
- "scheduler": {
2707
- "type": "array",
2708
- "items": {
2709
- "type": "object",
2710
- "properties": {
2711
- "enabled": {
2712
- "anyOf": [
2713
- {
2714
- "type": "boolean"
2715
- },
2716
- {
2717
- "type": "string"
2718
- }
2719
- ],
2720
- "default": true
2721
- },
2722
- "name": {
2723
- "type": "string"
2724
- },
2725
- "cron": {
2726
- "type": "string"
2727
- },
2728
- "callbackUrl": {
2729
- "type": "string"
2730
- },
2731
- "method": {
2732
- "type": "string",
2733
- "enum": [
2734
- "GET",
2735
- "POST",
2736
- "PUT",
2737
- "PATCH",
2738
- "DELETE"
2739
- ],
2740
- "default": "GET"
2741
- },
2742
- "headers": {
2743
- "type": "object",
2744
- "additionalProperties": {
2745
- "type": "string"
2746
- }
2747
- },
2748
- "body": {
2749
- "anyOf": [
2750
- {
2751
- "type": "string"
2752
- },
2753
- {
2754
- "type": "object",
2755
- "additionalProperties": true
2756
- }
2757
- ]
2758
- },
2759
- "maxRetries": {
2760
- "type": "number",
2761
- "minimum": 0,
2762
- "default": 3
2763
- }
2764
- },
2765
- "required": [
2766
- "name",
2767
- "cron",
2768
- "callbackUrl"
2769
- ]
2770
- }
2771
- },
2772
2543
  "policies": {
2773
2544
  "type": "object",
2774
2545
  "properties": {
@@ -2813,11 +2584,17 @@
2813
2584
  "directory": {
2814
2585
  "type": "string",
2815
2586
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
2587
+ },
2588
+ "awaitFirstWorker": {
2589
+ "type": "boolean",
2590
+ "description": "Wait for the first worker to start before starting the remaining workers"
2816
2591
  }
2817
2592
  },
2818
- "additionalProperties": false
2593
+ "additionalProperties": false,
2594
+ "title": "CompileCacheOptions"
2819
2595
  }
2820
- ]
2596
+ ],
2597
+ "default": true
2821
2598
  },
2822
2599
  "application": {
2823
2600
  "type": "object",
@@ -2829,7 +2606,8 @@
2829
2606
  "workers": {
2830
2607
  "anyOf": [
2831
2608
  {
2832
- "type": "number"
2609
+ "type": "integer",
2610
+ "minimum": 1
2833
2611
  },
2834
2612
  {
2835
2613
  "type": "string"
@@ -2838,28 +2616,32 @@
2838
2616
  "type": "object",
2839
2617
  "properties": {
2840
2618
  "static": {
2841
- "type": "number",
2619
+ "type": "integer",
2842
2620
  "minimum": 1
2843
2621
  },
2622
+ "dynamic": {
2623
+ "type": "boolean"
2624
+ },
2844
2625
  "minimum": {
2845
- "type": "number",
2626
+ "type": "integer",
2846
2627
  "minimum": 1
2847
2628
  },
2848
2629
  "maximum": {
2849
- "type": "number",
2630
+ "type": "integer",
2850
2631
  "minimum": 0
2851
2632
  },
2852
- "scaleUpELU": {
2633
+ "eluThreshold": {
2853
2634
  "type": "number",
2854
- "minimum": 0,
2635
+ "exclusiveMinimum": 0,
2855
2636
  "maximum": 1
2856
2637
  },
2857
- "scaleDownELU": {
2638
+ "heapThresholdMb": {
2858
2639
  "type": "number",
2859
- "minimum": 0,
2860
- "maximum": 1
2640
+ "exclusiveMinimum": 0
2861
2641
  }
2862
- }
2642
+ },
2643
+ "additionalProperties": false,
2644
+ "title": "ApplicationWorkersOptions"
2863
2645
  }
2864
2646
  ]
2865
2647
  },
@@ -3012,7 +2794,8 @@
3012
2794
  ]
3013
2795
  }
3014
2796
  },
3015
- "additionalProperties": false
2797
+ "additionalProperties": false,
2798
+ "title": "ApplicationHealthOptions"
3016
2799
  },
3017
2800
  "restartOnError": {
3018
2801
  "description": "Overrides the runtime-level restartOnError for this application. Set to false or 0 to never restart the application when it crashes, a positive number to wait that amount of milliseconds between restarts, or true to use the default delay.",
@@ -3104,14 +2887,15 @@
3104
2887
  "additionalProperties": false
3105
2888
  }
3106
2889
  },
3107
- "additionalProperties": false
2890
+ "additionalProperties": false,
2891
+ "title": "PermissionsOptions"
3108
2892
  },
3109
- "telemetry": {
2893
+ "tracing": {
3110
2894
  "type": "object",
3111
2895
  "properties": {
3112
2896
  "instrumentations": {
3113
2897
  "type": "array",
3114
- "description": "An array of instrumentations loaded if telemetry is enabled",
2898
+ "description": "An array of instrumentations loaded if tracing is enabled",
3115
2899
  "items": {
3116
2900
  "oneOf": [
3117
2901
  {
@@ -3138,7 +2922,8 @@
3138
2922
  ]
3139
2923
  }
3140
2924
  }
3141
- }
2925
+ },
2926
+ "title": "ApplicationTelemetryOverrides"
3142
2927
  },
3143
2928
  "compileCache": {
3144
2929
  "anyOf": [
@@ -3156,9 +2941,14 @@
3156
2941
  "directory": {
3157
2942
  "type": "string",
3158
2943
  "description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
2944
+ },
2945
+ "awaitFirstWorker": {
2946
+ "type": "boolean",
2947
+ "description": "Wait for the first worker to start before starting the remaining workers"
3159
2948
  }
3160
2949
  },
3161
- "additionalProperties": false
2950
+ "additionalProperties": false,
2951
+ "title": "CompileCacheOptions"
3162
2952
  }
3163
2953
  ]
3164
2954
  }