@platformatic/db 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 +13 -13
- package/schema.json +33 -5
package/config.d.ts
CHANGED
|
@@ -495,6 +495,8 @@ export interface PlatformaticDatabaseConfig {
|
|
|
495
495
|
maxMemory?: number;
|
|
496
496
|
cooldown?: number;
|
|
497
497
|
gracePeriod?: number;
|
|
498
|
+
scaleUpELU?: number;
|
|
499
|
+
scaleDownELU?: number;
|
|
498
500
|
[k: string]: unknown;
|
|
499
501
|
};
|
|
500
502
|
workersRestartDelay?: number | string;
|
|
@@ -827,13 +829,7 @@ export interface PlatformaticDatabaseConfig {
|
|
|
827
829
|
maxWorkers?: number;
|
|
828
830
|
cooldownSec?: number;
|
|
829
831
|
gracePeriod?: number;
|
|
830
|
-
/**
|
|
831
|
-
* @deprecated
|
|
832
|
-
*/
|
|
833
832
|
scaleUpELU?: number;
|
|
834
|
-
/**
|
|
835
|
-
* @deprecated
|
|
836
|
-
*/
|
|
837
833
|
scaleDownELU?: number;
|
|
838
834
|
/**
|
|
839
835
|
* @deprecated
|
|
@@ -897,6 +893,8 @@ export interface PlatformaticDatabaseConfig {
|
|
|
897
893
|
static?: number;
|
|
898
894
|
minimum?: number;
|
|
899
895
|
maximum?: number;
|
|
896
|
+
scaleUpELU?: number;
|
|
897
|
+
scaleDownELU?: number;
|
|
900
898
|
[k: string]: unknown;
|
|
901
899
|
};
|
|
902
900
|
health?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/db",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"console-table-printer": "^2.12.0",
|
|
52
52
|
"env-schema": "^6.0.0",
|
|
53
53
|
"execa": "^9.0.0",
|
|
54
|
-
"fastify": "^5.
|
|
54
|
+
"fastify": "^5.7.0",
|
|
55
55
|
"fastify-metrics": "^12.0.0",
|
|
56
56
|
"fastify-plugin": "^5.0.0",
|
|
57
57
|
"fastify-print-routes": "^4.0.0",
|
|
@@ -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.
|
|
70
|
-
"@platformatic/db-
|
|
71
|
-
"@platformatic/
|
|
72
|
-
"@platformatic/service": "3.
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/sql-
|
|
75
|
-
"@platformatic/sql-
|
|
76
|
-
"@platformatic/sql-
|
|
77
|
-
"@platformatic/sql-
|
|
78
|
-
"@platformatic/
|
|
79
|
-
"@platformatic/
|
|
69
|
+
"@platformatic/basic": "3.30.0",
|
|
70
|
+
"@platformatic/db-core": "3.30.0",
|
|
71
|
+
"@platformatic/foundation": "3.30.0",
|
|
72
|
+
"@platformatic/service": "3.30.0",
|
|
73
|
+
"@platformatic/db-authorization": "3.30.0",
|
|
74
|
+
"@platformatic/sql-graphql": "3.30.0",
|
|
75
|
+
"@platformatic/sql-json-schema-mapper": "3.30.0",
|
|
76
|
+
"@platformatic/sql-mapper": "3.30.0",
|
|
77
|
+
"@platformatic/sql-openapi": "3.30.0",
|
|
78
|
+
"@platformatic/telemetry": "3.30.0",
|
|
79
|
+
"@platformatic/sql-events": "3.30.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.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/db/3.30.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Database Config",
|
|
5
5
|
"type": "object",
|
|
@@ -1391,6 +1391,16 @@
|
|
|
1391
1391
|
"maximum": {
|
|
1392
1392
|
"type": "number",
|
|
1393
1393
|
"minimum": 0
|
|
1394
|
+
},
|
|
1395
|
+
"scaleUpELU": {
|
|
1396
|
+
"type": "number",
|
|
1397
|
+
"minimum": 0,
|
|
1398
|
+
"maximum": 1
|
|
1399
|
+
},
|
|
1400
|
+
"scaleDownELU": {
|
|
1401
|
+
"type": "number",
|
|
1402
|
+
"minimum": 0,
|
|
1403
|
+
"maximum": 1
|
|
1394
1404
|
}
|
|
1395
1405
|
}
|
|
1396
1406
|
}
|
|
@@ -1670,6 +1680,16 @@
|
|
|
1670
1680
|
"gracePeriod": {
|
|
1671
1681
|
"type": "number",
|
|
1672
1682
|
"minimum": 0
|
|
1683
|
+
},
|
|
1684
|
+
"scaleUpELU": {
|
|
1685
|
+
"type": "number",
|
|
1686
|
+
"minimum": 0,
|
|
1687
|
+
"maximum": 1
|
|
1688
|
+
},
|
|
1689
|
+
"scaleDownELU": {
|
|
1690
|
+
"type": "number",
|
|
1691
|
+
"minimum": 0,
|
|
1692
|
+
"maximum": 1
|
|
1673
1693
|
}
|
|
1674
1694
|
}
|
|
1675
1695
|
}
|
|
@@ -2702,14 +2722,12 @@
|
|
|
2702
2722
|
"scaleUpELU": {
|
|
2703
2723
|
"type": "number",
|
|
2704
2724
|
"minimum": 0,
|
|
2705
|
-
"maximum": 1
|
|
2706
|
-
"deprecated": true
|
|
2725
|
+
"maximum": 1
|
|
2707
2726
|
},
|
|
2708
2727
|
"scaleDownELU": {
|
|
2709
2728
|
"type": "number",
|
|
2710
2729
|
"minimum": 0,
|
|
2711
|
-
"maximum": 1
|
|
2712
|
-
"deprecated": true
|
|
2730
|
+
"maximum": 1
|
|
2713
2731
|
},
|
|
2714
2732
|
"timeWindowSec": {
|
|
2715
2733
|
"type": "number",
|
|
@@ -2910,6 +2928,16 @@
|
|
|
2910
2928
|
"maximum": {
|
|
2911
2929
|
"type": "number",
|
|
2912
2930
|
"minimum": 0
|
|
2931
|
+
},
|
|
2932
|
+
"scaleUpELU": {
|
|
2933
|
+
"type": "number",
|
|
2934
|
+
"minimum": 0,
|
|
2935
|
+
"maximum": 1
|
|
2936
|
+
},
|
|
2937
|
+
"scaleDownELU": {
|
|
2938
|
+
"type": "number",
|
|
2939
|
+
"minimum": 0,
|
|
2940
|
+
"maximum": 1
|
|
2913
2941
|
}
|
|
2914
2942
|
}
|
|
2915
2943
|
}
|