@platformatic/service 3.10.0 → 3.11.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 CHANGED
@@ -601,12 +601,13 @@ export interface PlatformaticServiceConfig {
601
601
  verticalScaler?: {
602
602
  enabled?: boolean;
603
603
  maxTotalWorkers?: number;
604
+ maxTotalMemory?: number;
604
605
  minWorkers?: number;
605
606
  maxWorkers?: number;
606
607
  scaleUpELU?: number;
607
608
  scaleDownELU?: number;
608
- minELUDiff?: number;
609
609
  timeWindowSec?: number;
610
+ scaleDownTimeWindowSec?: number;
610
611
  cooldownSec?: number;
611
612
  scaleIntervalSec?: number;
612
613
  gracePeriod?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -67,12 +67,12 @@
67
67
  "rfdc": "^1.3.1",
68
68
  "semgrator": "^0.3.0",
69
69
  "undici": "^7.0.0",
70
- "@platformatic/basic": "3.10.0",
71
- "@platformatic/foundation": "3.10.0",
72
- "@platformatic/generators": "3.10.0",
73
- "@platformatic/metrics": "3.10.0",
74
- "@platformatic/scalar-theme": "3.10.0",
75
- "@platformatic/telemetry": "3.10.0"
70
+ "@platformatic/basic": "3.11.0",
71
+ "@platformatic/foundation": "3.11.0",
72
+ "@platformatic/generators": "3.11.0",
73
+ "@platformatic/scalar-theme": "3.11.0",
74
+ "@platformatic/metrics": "3.11.0",
75
+ "@platformatic/telemetry": "3.11.0"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/service/3.10.0.json",
3
- "version": "3.10.0",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/service/3.11.0.json",
3
+ "version": "3.11.0",
4
4
  "title": "Platformatic Service Config",
5
5
  "type": "object",
6
6
  "properties": {
@@ -2205,6 +2205,10 @@
2205
2205
  "type": "number",
2206
2206
  "minimum": 1
2207
2207
  },
2208
+ "maxTotalMemory": {
2209
+ "type": "number",
2210
+ "minimum": 0
2211
+ },
2208
2212
  "minWorkers": {
2209
2213
  "type": "number",
2210
2214
  "minimum": 1
@@ -2223,12 +2227,11 @@
2223
2227
  "minimum": 0,
2224
2228
  "maximum": 1
2225
2229
  },
2226
- "minELUDiff": {
2230
+ "timeWindowSec": {
2227
2231
  "type": "number",
2228
- "minimum": 0,
2229
- "maximum": 1
2232
+ "minimum": 0
2230
2233
  },
2231
- "timeWindowSec": {
2234
+ "scaleDownTimeWindowSec": {
2232
2235
  "type": "number",
2233
2236
  "minimum": 0
2234
2237
  },