@sigil-dev/grimoire 0.9.30 → 0.9.32
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/package.json +4 -4
- package/src/server/coordinator.ts +3 -0
- package/src/server/index.ts +1181 -1179
- package/src/types.ts +642 -629
- package/test/server.test.ts +19 -0
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"module": "index.ts",
|
|
12
12
|
"type": "module",
|
|
13
13
|
"private": false,
|
|
14
|
-
"version": "0.9.
|
|
14
|
+
"version": "0.9.32",
|
|
15
15
|
"bin": {
|
|
16
16
|
"sigil": "bin/sigil.ts"
|
|
17
17
|
},
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"test": "bun test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@sigil-dev/cli": "0.9.
|
|
42
|
-
"@sigil-dev/compiler": "0.9.
|
|
43
|
-
"@sigil-dev/runtime": "0.9.
|
|
41
|
+
"@sigil-dev/cli": "0.9.32",
|
|
42
|
+
"@sigil-dev/compiler": "0.9.32",
|
|
43
|
+
"@sigil-dev/runtime": "0.9.32"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"typescript": "^5",
|
|
@@ -281,6 +281,9 @@ export async function startCoordinator(options: CoordinatorOptions) {
|
|
|
281
281
|
const server = Bun.serve({
|
|
282
282
|
port,
|
|
283
283
|
hostname: host,
|
|
284
|
+
// the workers get the same two from the config they're spawned with
|
|
285
|
+
idleTimeout: config.idleTimeout,
|
|
286
|
+
maxRequestBodySize: config.maxRequestBodySize,
|
|
284
287
|
fetch: async (req) => {
|
|
285
288
|
const url = new URL(req.url);
|
|
286
289
|
const isWsUpgrade =
|