@platformatic/runtime 3.63.0-alpha.2 → 3.63.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 -0
- package/index.d.ts +138 -45
- package/lib/errors.js +30 -11
- package/lib/management-api.js +0 -17
- package/lib/management-handlers.js +0 -20
- package/lib/prom-server.js +81 -8
- package/lib/runtime.js +538 -134
- package/lib/scheduler.js +60 -192
- package/lib/worker/controller.js +4 -2
- package/lib/worker/itc.js +38 -44
- package/lib/worker/main.js +14 -4
- package/lib/worker/management.js +0 -16
- package/lib/worker/messaging.js +20 -7
- package/lib/worker-scaler.js +20 -9
- package/package.json +17 -17
- package/schema.json +13 -2
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/3.63.0
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/3.63.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Runtime Config",
|
|
5
5
|
"type": "object",
|
|
@@ -2234,7 +2234,7 @@
|
|
|
2234
2234
|
"type": "string"
|
|
2235
2235
|
}
|
|
2236
2236
|
],
|
|
2237
|
-
"default":
|
|
2237
|
+
"default": 30000
|
|
2238
2238
|
},
|
|
2239
2239
|
"application": {
|
|
2240
2240
|
"anyOf": [
|
|
@@ -3492,6 +3492,17 @@
|
|
|
3492
3492
|
"envfile": {
|
|
3493
3493
|
"type": "string"
|
|
3494
3494
|
},
|
|
3495
|
+
"strictEnv": {
|
|
3496
|
+
"anyOf": [
|
|
3497
|
+
{
|
|
3498
|
+
"type": "boolean"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"type": "string"
|
|
3502
|
+
}
|
|
3503
|
+
],
|
|
3504
|
+
"description": "When set to true, the configuration loading fails if a {PLT_*} placeholder references an environment variable which is not set. When set to \"warn\", a warning listing the missing variables is logged but the placeholders are still replaced with an empty string. Defaults to false."
|
|
3505
|
+
},
|
|
3495
3506
|
"sourceMaps": {
|
|
3496
3507
|
"type": "boolean",
|
|
3497
3508
|
"default": false
|