@platformatic/service 3.9.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 +4 -1
- package/package.json +7 -7
- package/schema.json +48 -6
package/config.d.ts
CHANGED
|
@@ -520,6 +520,7 @@ export interface PlatformaticServiceConfig {
|
|
|
520
520
|
};
|
|
521
521
|
};
|
|
522
522
|
plugins?: string[];
|
|
523
|
+
timeout?: number | string;
|
|
523
524
|
};
|
|
524
525
|
telemetry?: {
|
|
525
526
|
enabled?: boolean | string;
|
|
@@ -600,14 +601,16 @@ export interface PlatformaticServiceConfig {
|
|
|
600
601
|
verticalScaler?: {
|
|
601
602
|
enabled?: boolean;
|
|
602
603
|
maxTotalWorkers?: number;
|
|
604
|
+
maxTotalMemory?: number;
|
|
603
605
|
minWorkers?: number;
|
|
604
606
|
maxWorkers?: number;
|
|
605
607
|
scaleUpELU?: number;
|
|
606
608
|
scaleDownELU?: number;
|
|
607
|
-
minELUDiff?: number;
|
|
608
609
|
timeWindowSec?: number;
|
|
610
|
+
scaleDownTimeWindowSec?: number;
|
|
609
611
|
cooldownSec?: number;
|
|
610
612
|
scaleIntervalSec?: number;
|
|
613
|
+
gracePeriod?: number;
|
|
611
614
|
};
|
|
612
615
|
inspectorOptions?: {
|
|
613
616
|
host?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
71
|
-
"@platformatic/foundation": "3.
|
|
72
|
-
"@platformatic/generators": "3.
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/
|
|
75
|
-
"@platformatic/telemetry": "3.
|
|
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.
|
|
3
|
-
"version": "3.
|
|
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": {
|
|
@@ -1213,6 +1213,30 @@
|
|
|
1213
1213
|
"nodeOptions": {
|
|
1214
1214
|
"type": "string"
|
|
1215
1215
|
},
|
|
1216
|
+
"permissions": {
|
|
1217
|
+
"type": "object",
|
|
1218
|
+
"properties": {
|
|
1219
|
+
"fs": {
|
|
1220
|
+
"type": "object",
|
|
1221
|
+
"properties": {
|
|
1222
|
+
"read": {
|
|
1223
|
+
"type": "array",
|
|
1224
|
+
"items": {
|
|
1225
|
+
"type": "string"
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
"write": {
|
|
1229
|
+
"type": "array",
|
|
1230
|
+
"items": {
|
|
1231
|
+
"type": "string"
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
"additionalProperties": false
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"additionalProperties": false
|
|
1239
|
+
},
|
|
1216
1240
|
"telemetry": {
|
|
1217
1241
|
"type": "object",
|
|
1218
1242
|
"properties": {
|
|
@@ -2023,6 +2047,17 @@
|
|
|
2023
2047
|
}
|
|
2024
2048
|
]
|
|
2025
2049
|
}
|
|
2050
|
+
},
|
|
2051
|
+
"timeout": {
|
|
2052
|
+
"anyOf": [
|
|
2053
|
+
{
|
|
2054
|
+
"type": "integer"
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"type": "string"
|
|
2058
|
+
}
|
|
2059
|
+
],
|
|
2060
|
+
"default": 10000
|
|
2026
2061
|
}
|
|
2027
2062
|
},
|
|
2028
2063
|
"additionalProperties": false
|
|
@@ -2170,6 +2205,10 @@
|
|
|
2170
2205
|
"type": "number",
|
|
2171
2206
|
"minimum": 1
|
|
2172
2207
|
},
|
|
2208
|
+
"maxTotalMemory": {
|
|
2209
|
+
"type": "number",
|
|
2210
|
+
"minimum": 0
|
|
2211
|
+
},
|
|
2173
2212
|
"minWorkers": {
|
|
2174
2213
|
"type": "number",
|
|
2175
2214
|
"minimum": 1
|
|
@@ -2188,12 +2227,11 @@
|
|
|
2188
2227
|
"minimum": 0,
|
|
2189
2228
|
"maximum": 1
|
|
2190
2229
|
},
|
|
2191
|
-
"
|
|
2230
|
+
"timeWindowSec": {
|
|
2192
2231
|
"type": "number",
|
|
2193
|
-
"minimum": 0
|
|
2194
|
-
"maximum": 1
|
|
2232
|
+
"minimum": 0
|
|
2195
2233
|
},
|
|
2196
|
-
"
|
|
2234
|
+
"scaleDownTimeWindowSec": {
|
|
2197
2235
|
"type": "number",
|
|
2198
2236
|
"minimum": 0
|
|
2199
2237
|
},
|
|
@@ -2204,6 +2242,10 @@
|
|
|
2204
2242
|
"scaleIntervalSec": {
|
|
2205
2243
|
"type": "number",
|
|
2206
2244
|
"minimum": 0
|
|
2245
|
+
},
|
|
2246
|
+
"gracePeriod": {
|
|
2247
|
+
"type": "number",
|
|
2248
|
+
"minimum": 0
|
|
2207
2249
|
}
|
|
2208
2250
|
},
|
|
2209
2251
|
"additionalProperties": false
|