@platformatic/runtime 3.34.1-alpha.3 → 3.34.1
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/lib/runtime.js +2 -2
- package/package.json +15 -15
- package/schema.json +1 -1
package/lib/runtime.js
CHANGED
|
@@ -17,7 +17,6 @@ import { existsSync } from 'node:fs'
|
|
|
17
17
|
import { readFile } from 'node:fs/promises'
|
|
18
18
|
import { STATUS_CODES } from 'node:http'
|
|
19
19
|
import { createRequire } from 'node:module'
|
|
20
|
-
import { availableParallelism } from 'node:os'
|
|
21
20
|
import { dirname, isAbsolute, join } from 'node:path'
|
|
22
21
|
import { setImmediate as immediate, setTimeout as sleep } from 'node:timers/promises'
|
|
23
22
|
import { pathToFileURL } from 'node:url'
|
|
@@ -90,7 +89,8 @@ function parseOrigins (origins) {
|
|
|
90
89
|
})
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
|
|
92
|
+
// Always run operations in parallel to avoid deadlocks when services have dependencies
|
|
93
|
+
const MAX_CONCURRENCY = Infinity
|
|
94
94
|
const MAX_BOOTSTRAP_ATTEMPTS = 5
|
|
95
95
|
const IMMEDIATE_RESTART_MAX_THRESHOLD = 10
|
|
96
96
|
const MAX_WORKERS = 100
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "3.34.1
|
|
3
|
+
"version": "3.34.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"typescript": "^5.5.4",
|
|
36
36
|
"undici-oidc-interceptor": "^0.5.0",
|
|
37
37
|
"why-is-node-running": "^2.2.2",
|
|
38
|
-
"@platformatic/composer": "3.34.1
|
|
39
|
-
"@platformatic/
|
|
40
|
-
"@platformatic/
|
|
41
|
-
"@platformatic/
|
|
42
|
-
"@platformatic/
|
|
43
|
-
"@platformatic/sql-graphql": "3.34.1
|
|
44
|
-
"@platformatic/sql-mapper": "3.34.1
|
|
45
|
-
"@platformatic/wattpm-pprof-capture": "3.34.1
|
|
38
|
+
"@platformatic/composer": "3.34.1",
|
|
39
|
+
"@platformatic/node": "3.34.1",
|
|
40
|
+
"@platformatic/gateway": "3.34.1",
|
|
41
|
+
"@platformatic/db": "3.34.1",
|
|
42
|
+
"@platformatic/service": "3.34.1",
|
|
43
|
+
"@platformatic/sql-graphql": "3.34.1",
|
|
44
|
+
"@platformatic/sql-mapper": "3.34.1",
|
|
45
|
+
"@platformatic/wattpm-pprof-capture": "3.34.1"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@fastify/accepts": "^5.0.0",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"undici": "^7.0.0",
|
|
72
72
|
"undici-thread-interceptor": "^1.0.0",
|
|
73
73
|
"ws": "^8.16.0",
|
|
74
|
-
"@platformatic/basic": "3.34.1
|
|
75
|
-
"@platformatic/foundation": "3.34.1
|
|
76
|
-
"@platformatic/
|
|
77
|
-
"@platformatic/
|
|
78
|
-
"@platformatic/
|
|
79
|
-
"@platformatic/
|
|
74
|
+
"@platformatic/basic": "3.34.1",
|
|
75
|
+
"@platformatic/foundation": "3.34.1",
|
|
76
|
+
"@platformatic/generators": "3.34.1",
|
|
77
|
+
"@platformatic/metrics": "3.34.1",
|
|
78
|
+
"@platformatic/telemetry": "3.34.1",
|
|
79
|
+
"@platformatic/itc": "3.34.1"
|
|
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/runtime/3.34.1
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/3.34.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Runtime Config",
|
|
5
5
|
"type": "object",
|