@platformatic/service 3.23.0 → 3.24.0-alpha0
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 +0 -4
- package/lib/capability.js +0 -4
- package/package.json +7 -7
- package/schema.json +2 -6
package/config.d.ts
CHANGED
|
@@ -381,10 +381,6 @@ export interface PlatformaticServiceConfig {
|
|
|
381
381
|
server?: {
|
|
382
382
|
hostname?: string;
|
|
383
383
|
port?: number | string;
|
|
384
|
-
/**
|
|
385
|
-
* The maximum length of the queue of pending connections
|
|
386
|
-
*/
|
|
387
|
-
backlog?: number;
|
|
388
384
|
http2?: boolean;
|
|
389
385
|
https?: {
|
|
390
386
|
allowHTTP1?: boolean;
|
package/lib/capability.js
CHANGED
|
@@ -266,10 +266,6 @@ export class ServiceCapability extends BaseCapability {
|
|
|
266
266
|
const serverOptions = this.serverConfig
|
|
267
267
|
const listenOptions = { host: serverOptions?.hostname || '127.0.0.1', port: serverOptions?.port || 0 }
|
|
268
268
|
|
|
269
|
-
if (typeof serverOptions?.backlog === 'number') {
|
|
270
|
-
listenOptions.backlog = serverOptions.backlog
|
|
271
|
-
}
|
|
272
|
-
|
|
273
269
|
await this.#app.listen(listenOptions)
|
|
274
270
|
this.url = getServerUrl(this.#app.server)
|
|
275
271
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.0-alpha0",
|
|
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/
|
|
71
|
-
"@platformatic/
|
|
72
|
-
"@platformatic/
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/
|
|
75
|
-
"@platformatic/telemetry": "3.
|
|
70
|
+
"@platformatic/generators": "3.24.0-alpha0",
|
|
71
|
+
"@platformatic/basic": "3.24.0-alpha0",
|
|
72
|
+
"@platformatic/foundation": "3.24.0-alpha0",
|
|
73
|
+
"@platformatic/scalar-theme": "3.24.0-alpha0",
|
|
74
|
+
"@platformatic/metrics": "3.24.0-alpha0",
|
|
75
|
+
"@platformatic/telemetry": "3.24.0-alpha0"
|
|
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.24.0-alpha0.json",
|
|
3
|
+
"version": "3.24.0-alpha0",
|
|
4
4
|
"title": "Platformatic Service Config",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1535,10 +1535,6 @@
|
|
|
1535
1535
|
}
|
|
1536
1536
|
]
|
|
1537
1537
|
},
|
|
1538
|
-
"backlog": {
|
|
1539
|
-
"type": "integer",
|
|
1540
|
-
"description": "The maximum length of the queue of pending connections"
|
|
1541
|
-
},
|
|
1542
1538
|
"http2": {
|
|
1543
1539
|
"type": "boolean"
|
|
1544
1540
|
},
|