@platformatic/db 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.
Files changed (3) hide show
  1. package/config.d.ts +2 -1
  2. package/package.json +12 -12
  3. package/schema.json +8 -5
package/config.d.ts CHANGED
@@ -771,12 +771,13 @@ export interface PlatformaticDatabaseConfig {
771
771
  verticalScaler?: {
772
772
  enabled?: boolean;
773
773
  maxTotalWorkers?: number;
774
+ maxTotalMemory?: number;
774
775
  minWorkers?: number;
775
776
  maxWorkers?: number;
776
777
  scaleUpELU?: number;
777
778
  scaleDownELU?: number;
778
- minELUDiff?: number;
779
779
  timeWindowSec?: number;
780
+ scaleDownTimeWindowSec?: number;
780
781
  cooldownSec?: number;
781
782
  scaleIntervalSec?: number;
782
783
  gracePeriod?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -66,17 +66,17 @@
66
66
  "rfdc": "^1.3.1",
67
67
  "rimraf": "^4.4.1",
68
68
  "semgrator": "^0.3.0",
69
- "@platformatic/basic": "3.10.0",
70
- "@platformatic/db-core": "3.10.0",
71
- "@platformatic/db-authorization": "3.10.0",
72
- "@platformatic/service": "3.10.0",
73
- "@platformatic/sql-events": "3.10.0",
74
- "@platformatic/sql-json-schema-mapper": "3.10.0",
75
- "@platformatic/foundation": "3.10.0",
76
- "@platformatic/sql-mapper": "3.10.0",
77
- "@platformatic/sql-graphql": "3.10.0",
78
- "@platformatic/telemetry": "3.10.0",
79
- "@platformatic/sql-openapi": "3.10.0"
69
+ "@platformatic/basic": "3.11.0",
70
+ "@platformatic/db-authorization": "3.11.0",
71
+ "@platformatic/foundation": "3.11.0",
72
+ "@platformatic/db-core": "3.11.0",
73
+ "@platformatic/service": "3.11.0",
74
+ "@platformatic/sql-graphql": "3.11.0",
75
+ "@platformatic/sql-events": "3.11.0",
76
+ "@platformatic/sql-json-schema-mapper": "3.11.0",
77
+ "@platformatic/sql-mapper": "3.11.0",
78
+ "@platformatic/telemetry": "3.11.0",
79
+ "@platformatic/sql-openapi": "3.11.0"
80
80
  },
81
81
  "engines": {
82
82
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/db/3.10.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/3.11.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Database Config",
5
5
  "type": "object",
@@ -2516,6 +2516,10 @@
2516
2516
  "type": "number",
2517
2517
  "minimum": 1
2518
2518
  },
2519
+ "maxTotalMemory": {
2520
+ "type": "number",
2521
+ "minimum": 0
2522
+ },
2519
2523
  "minWorkers": {
2520
2524
  "type": "number",
2521
2525
  "minimum": 1
@@ -2534,12 +2538,11 @@
2534
2538
  "minimum": 0,
2535
2539
  "maximum": 1
2536
2540
  },
2537
- "minELUDiff": {
2541
+ "timeWindowSec": {
2538
2542
  "type": "number",
2539
- "minimum": 0,
2540
- "maximum": 1
2543
+ "minimum": 0
2541
2544
  },
2542
- "timeWindowSec": {
2545
+ "scaleDownTimeWindowSec": {
2543
2546
  "type": "number",
2544
2547
  "minimum": 0
2545
2548
  },