@platformatic/basic 3.28.2 → 3.29.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/config.d.ts +4 -6
- package/package.json +5 -5
- package/schema.json +33 -5
package/config.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export interface PlatformaticBasicConfig {
|
|
|
25
25
|
maxMemory?: number;
|
|
26
26
|
cooldown?: number;
|
|
27
27
|
gracePeriod?: number;
|
|
28
|
+
scaleUpELU?: number;
|
|
29
|
+
scaleDownELU?: number;
|
|
28
30
|
[k: string]: unknown;
|
|
29
31
|
};
|
|
30
32
|
workersRestartDelay?: number | string;
|
|
@@ -357,13 +359,7 @@ export interface PlatformaticBasicConfig {
|
|
|
357
359
|
maxWorkers?: number;
|
|
358
360
|
cooldownSec?: number;
|
|
359
361
|
gracePeriod?: number;
|
|
360
|
-
/**
|
|
361
|
-
* @deprecated
|
|
362
|
-
*/
|
|
363
362
|
scaleUpELU?: number;
|
|
364
|
-
/**
|
|
365
|
-
* @deprecated
|
|
366
|
-
*/
|
|
367
363
|
scaleDownELU?: number;
|
|
368
364
|
/**
|
|
369
365
|
* @deprecated
|
|
@@ -427,6 +423,8 @@ export interface PlatformaticBasicConfig {
|
|
|
427
423
|
static?: number;
|
|
428
424
|
minimum?: number;
|
|
429
425
|
maximum?: number;
|
|
426
|
+
scaleUpELU?: number;
|
|
427
|
+
scaleDownELU?: number;
|
|
430
428
|
[k: string]: unknown;
|
|
431
429
|
};
|
|
432
430
|
health?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/basic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.29.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"split2": "^4.2.0",
|
|
26
26
|
"undici": "^7.0.0",
|
|
27
27
|
"ws": "^8.18.0",
|
|
28
|
-
"@platformatic/foundation": "3.
|
|
29
|
-
"@platformatic/
|
|
30
|
-
"@platformatic/
|
|
31
|
-
"@platformatic/
|
|
28
|
+
"@platformatic/foundation": "3.29.1",
|
|
29
|
+
"@platformatic/itc": "3.29.1",
|
|
30
|
+
"@platformatic/telemetry": "3.29.1",
|
|
31
|
+
"@platformatic/metrics": "3.29.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"cleaner-spec-reporter": "^0.5.0",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/basic/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/basic/3.29.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Basic Config",
|
|
5
5
|
"type": "object",
|
|
@@ -94,6 +94,16 @@
|
|
|
94
94
|
"maximum": {
|
|
95
95
|
"type": "number",
|
|
96
96
|
"minimum": 0
|
|
97
|
+
},
|
|
98
|
+
"scaleUpELU": {
|
|
99
|
+
"type": "number",
|
|
100
|
+
"minimum": 0,
|
|
101
|
+
"maximum": 1
|
|
102
|
+
},
|
|
103
|
+
"scaleDownELU": {
|
|
104
|
+
"type": "number",
|
|
105
|
+
"minimum": 0,
|
|
106
|
+
"maximum": 1
|
|
97
107
|
}
|
|
98
108
|
}
|
|
99
109
|
}
|
|
@@ -373,6 +383,16 @@
|
|
|
373
383
|
"gracePeriod": {
|
|
374
384
|
"type": "number",
|
|
375
385
|
"minimum": 0
|
|
386
|
+
},
|
|
387
|
+
"scaleUpELU": {
|
|
388
|
+
"type": "number",
|
|
389
|
+
"minimum": 0,
|
|
390
|
+
"maximum": 1
|
|
391
|
+
},
|
|
392
|
+
"scaleDownELU": {
|
|
393
|
+
"type": "number",
|
|
394
|
+
"minimum": 0,
|
|
395
|
+
"maximum": 1
|
|
376
396
|
}
|
|
377
397
|
}
|
|
378
398
|
}
|
|
@@ -1405,14 +1425,12 @@
|
|
|
1405
1425
|
"scaleUpELU": {
|
|
1406
1426
|
"type": "number",
|
|
1407
1427
|
"minimum": 0,
|
|
1408
|
-
"maximum": 1
|
|
1409
|
-
"deprecated": true
|
|
1428
|
+
"maximum": 1
|
|
1410
1429
|
},
|
|
1411
1430
|
"scaleDownELU": {
|
|
1412
1431
|
"type": "number",
|
|
1413
1432
|
"minimum": 0,
|
|
1414
|
-
"maximum": 1
|
|
1415
|
-
"deprecated": true
|
|
1433
|
+
"maximum": 1
|
|
1416
1434
|
},
|
|
1417
1435
|
"timeWindowSec": {
|
|
1418
1436
|
"type": "number",
|
|
@@ -1613,6 +1631,16 @@
|
|
|
1613
1631
|
"maximum": {
|
|
1614
1632
|
"type": "number",
|
|
1615
1633
|
"minimum": 0
|
|
1634
|
+
},
|
|
1635
|
+
"scaleUpELU": {
|
|
1636
|
+
"type": "number",
|
|
1637
|
+
"minimum": 0,
|
|
1638
|
+
"maximum": 1
|
|
1639
|
+
},
|
|
1640
|
+
"scaleDownELU": {
|
|
1641
|
+
"type": "number",
|
|
1642
|
+
"minimum": 0,
|
|
1643
|
+
"maximum": 1
|
|
1616
1644
|
}
|
|
1617
1645
|
}
|
|
1618
1646
|
}
|