@platformatic/composer 3.17.0 → 3.19.0
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/config.d.ts +41 -3
- package/package.json +3 -3
- package/schema.json +13 -3
package/config.d.ts
CHANGED
|
@@ -178,7 +178,20 @@ export interface PlatformaticComposerConfig {
|
|
|
178
178
|
services?: {
|
|
179
179
|
[k: string]: unknown;
|
|
180
180
|
}[];
|
|
181
|
-
workers?:
|
|
181
|
+
workers?:
|
|
182
|
+
| number
|
|
183
|
+
| string
|
|
184
|
+
| {
|
|
185
|
+
static?: number;
|
|
186
|
+
dynamic?: boolean;
|
|
187
|
+
minimum?: number;
|
|
188
|
+
maximum?: number;
|
|
189
|
+
total?: number;
|
|
190
|
+
maxMemory?: number;
|
|
191
|
+
cooldown?: number;
|
|
192
|
+
gracePeriod?: number;
|
|
193
|
+
[k: string]: unknown;
|
|
194
|
+
};
|
|
182
195
|
workersRestartDelay?: number | string;
|
|
183
196
|
logger?: {
|
|
184
197
|
level: (
|
|
@@ -262,6 +275,7 @@ export interface PlatformaticComposerConfig {
|
|
|
262
275
|
rejectUnauthorized?: boolean;
|
|
263
276
|
};
|
|
264
277
|
};
|
|
278
|
+
reuseTcpPorts?: boolean;
|
|
265
279
|
startTimeout?: number;
|
|
266
280
|
restartOnError?: boolean | number;
|
|
267
281
|
exitOnUnhandledErrors?: boolean;
|
|
@@ -500,13 +514,28 @@ export interface PlatformaticComposerConfig {
|
|
|
500
514
|
maxTotalMemory?: number;
|
|
501
515
|
minWorkers?: number;
|
|
502
516
|
maxWorkers?: number;
|
|
517
|
+
cooldownSec?: number;
|
|
518
|
+
gracePeriod?: number;
|
|
519
|
+
/**
|
|
520
|
+
* @deprecated
|
|
521
|
+
*/
|
|
503
522
|
scaleUpELU?: number;
|
|
523
|
+
/**
|
|
524
|
+
* @deprecated
|
|
525
|
+
*/
|
|
504
526
|
scaleDownELU?: number;
|
|
527
|
+
/**
|
|
528
|
+
* @deprecated
|
|
529
|
+
*/
|
|
505
530
|
timeWindowSec?: number;
|
|
531
|
+
/**
|
|
532
|
+
* @deprecated
|
|
533
|
+
*/
|
|
506
534
|
scaleDownTimeWindowSec?: number;
|
|
507
|
-
|
|
535
|
+
/**
|
|
536
|
+
* @deprecated
|
|
537
|
+
*/
|
|
508
538
|
scaleIntervalSec?: number;
|
|
509
|
-
gracePeriod?: number;
|
|
510
539
|
};
|
|
511
540
|
inspectorOptions?: {
|
|
512
541
|
host?: string;
|
|
@@ -538,6 +567,15 @@ export interface PlatformaticComposerConfig {
|
|
|
538
567
|
maxRetries?: number;
|
|
539
568
|
[k: string]: unknown;
|
|
540
569
|
}[];
|
|
570
|
+
policies?: {
|
|
571
|
+
deny: {
|
|
572
|
+
/**
|
|
573
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
574
|
+
* via the `patternProperty` "^.*$".
|
|
575
|
+
*/
|
|
576
|
+
[k: string]: string | [string, ...string[]];
|
|
577
|
+
};
|
|
578
|
+
};
|
|
541
579
|
};
|
|
542
580
|
telemetry?: {
|
|
543
581
|
enabled?: boolean | string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/composer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.19.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"json-schema-to-typescript": "^15.0.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@platformatic/foundation": "3.
|
|
27
|
-
"@platformatic/gateway": "3.
|
|
26
|
+
"@platformatic/foundation": "3.19.0",
|
|
27
|
+
"@platformatic/gateway": "3.19.0"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/composer/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/composer/3.19.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Composer Config",
|
|
5
5
|
"type": "object",
|
|
@@ -1444,8 +1444,7 @@
|
|
|
1444
1444
|
{
|
|
1445
1445
|
"type": "string"
|
|
1446
1446
|
}
|
|
1447
|
-
]
|
|
1448
|
-
"default": 4294967296
|
|
1447
|
+
]
|
|
1449
1448
|
},
|
|
1450
1449
|
"maxYoungGeneration": {
|
|
1451
1450
|
"anyOf": [
|
|
@@ -1772,6 +1771,17 @@
|
|
|
1772
1771
|
}
|
|
1773
1772
|
]
|
|
1774
1773
|
},
|
|
1774
|
+
"healthChecksTimeouts": {
|
|
1775
|
+
"anyOf": [
|
|
1776
|
+
{
|
|
1777
|
+
"type": "integer"
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"type": "string"
|
|
1781
|
+
}
|
|
1782
|
+
],
|
|
1783
|
+
"default": 5000
|
|
1784
|
+
},
|
|
1775
1785
|
"plugins": {
|
|
1776
1786
|
"type": "array",
|
|
1777
1787
|
"items": {
|