@platformatic/composer 3.29.0 → 3.30.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 +4 -6
- package/package.json +3 -3
- package/schema.json +33 -5
package/config.d.ts
CHANGED
|
@@ -190,6 +190,8 @@ export interface PlatformaticComposerConfig {
|
|
|
190
190
|
maxMemory?: number;
|
|
191
191
|
cooldown?: number;
|
|
192
192
|
gracePeriod?: number;
|
|
193
|
+
scaleUpELU?: number;
|
|
194
|
+
scaleDownELU?: number;
|
|
193
195
|
[k: string]: unknown;
|
|
194
196
|
};
|
|
195
197
|
workersRestartDelay?: number | string;
|
|
@@ -522,13 +524,7 @@ export interface PlatformaticComposerConfig {
|
|
|
522
524
|
maxWorkers?: number;
|
|
523
525
|
cooldownSec?: number;
|
|
524
526
|
gracePeriod?: number;
|
|
525
|
-
/**
|
|
526
|
-
* @deprecated
|
|
527
|
-
*/
|
|
528
527
|
scaleUpELU?: number;
|
|
529
|
-
/**
|
|
530
|
-
* @deprecated
|
|
531
|
-
*/
|
|
532
528
|
scaleDownELU?: number;
|
|
533
529
|
/**
|
|
534
530
|
* @deprecated
|
|
@@ -592,6 +588,8 @@ export interface PlatformaticComposerConfig {
|
|
|
592
588
|
static?: number;
|
|
593
589
|
minimum?: number;
|
|
594
590
|
maximum?: number;
|
|
591
|
+
scaleUpELU?: number;
|
|
592
|
+
scaleDownELU?: number;
|
|
595
593
|
[k: string]: unknown;
|
|
596
594
|
};
|
|
597
595
|
health?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/composer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.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/
|
|
27
|
-
"@platformatic/
|
|
26
|
+
"@platformatic/gateway": "3.30.0",
|
|
27
|
+
"@platformatic/foundation": "3.30.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.30.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Composer Config",
|
|
5
5
|
"type": "object",
|
|
@@ -754,6 +754,16 @@
|
|
|
754
754
|
"maximum": {
|
|
755
755
|
"type": "number",
|
|
756
756
|
"minimum": 0
|
|
757
|
+
},
|
|
758
|
+
"scaleUpELU": {
|
|
759
|
+
"type": "number",
|
|
760
|
+
"minimum": 0,
|
|
761
|
+
"maximum": 1
|
|
762
|
+
},
|
|
763
|
+
"scaleDownELU": {
|
|
764
|
+
"type": "number",
|
|
765
|
+
"minimum": 0,
|
|
766
|
+
"maximum": 1
|
|
757
767
|
}
|
|
758
768
|
}
|
|
759
769
|
}
|
|
@@ -1033,6 +1043,16 @@
|
|
|
1033
1043
|
"gracePeriod": {
|
|
1034
1044
|
"type": "number",
|
|
1035
1045
|
"minimum": 0
|
|
1046
|
+
},
|
|
1047
|
+
"scaleUpELU": {
|
|
1048
|
+
"type": "number",
|
|
1049
|
+
"minimum": 0,
|
|
1050
|
+
"maximum": 1
|
|
1051
|
+
},
|
|
1052
|
+
"scaleDownELU": {
|
|
1053
|
+
"type": "number",
|
|
1054
|
+
"minimum": 0,
|
|
1055
|
+
"maximum": 1
|
|
1036
1056
|
}
|
|
1037
1057
|
}
|
|
1038
1058
|
}
|
|
@@ -2065,14 +2085,12 @@
|
|
|
2065
2085
|
"scaleUpELU": {
|
|
2066
2086
|
"type": "number",
|
|
2067
2087
|
"minimum": 0,
|
|
2068
|
-
"maximum": 1
|
|
2069
|
-
"deprecated": true
|
|
2088
|
+
"maximum": 1
|
|
2070
2089
|
},
|
|
2071
2090
|
"scaleDownELU": {
|
|
2072
2091
|
"type": "number",
|
|
2073
2092
|
"minimum": 0,
|
|
2074
|
-
"maximum": 1
|
|
2075
|
-
"deprecated": true
|
|
2093
|
+
"maximum": 1
|
|
2076
2094
|
},
|
|
2077
2095
|
"timeWindowSec": {
|
|
2078
2096
|
"type": "number",
|
|
@@ -2273,6 +2291,16 @@
|
|
|
2273
2291
|
"maximum": {
|
|
2274
2292
|
"type": "number",
|
|
2275
2293
|
"minimum": 0
|
|
2294
|
+
},
|
|
2295
|
+
"scaleUpELU": {
|
|
2296
|
+
"type": "number",
|
|
2297
|
+
"minimum": 0,
|
|
2298
|
+
"maximum": 1
|
|
2299
|
+
},
|
|
2300
|
+
"scaleDownELU": {
|
|
2301
|
+
"type": "number",
|
|
2302
|
+
"minimum": 0,
|
|
2303
|
+
"maximum": 1
|
|
2276
2304
|
}
|
|
2277
2305
|
}
|
|
2278
2306
|
}
|