@rivetkit/engine-runner 2.3.20 → 2.3.22
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/dist/mod.cjs +1 -1
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.js +1 -1
- package/dist/mod.js.map +1 -1
- package/package.json +4 -4
- package/src/mod.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/engine-runner",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"bench": "tsx benches/actor-lifecycle.bench.ts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@rivetkit/virtual-websocket": "2.3.
|
|
29
|
-
"@rivetkit/engine-runner-protocol": "2.3.
|
|
28
|
+
"@rivetkit/virtual-websocket": "2.3.22",
|
|
29
|
+
"@rivetkit/engine-runner-protocol": "2.3.22",
|
|
30
30
|
"uuid": "^12.0.0",
|
|
31
31
|
"pino": "^9.9.5",
|
|
32
32
|
"ws": "^8.18.3"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"repository": {
|
|
44
44
|
"type": "git",
|
|
45
|
-
"url": "https://github.com/rivet-dev/
|
|
45
|
+
"url": "https://github.com/rivet-dev/rivet.git",
|
|
46
46
|
"directory": "rivetkit-typescript/packages/engine-runner"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/src/mod.ts
CHANGED
|
@@ -473,7 +473,7 @@ export class Runner {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
// When changing SIGTERM/shutdown behavior, update
|
|
476
|
-
//
|
|
476
|
+
// docs/general/content/versions.mdx (SIGTERM Handling section).
|
|
477
477
|
if (!this.#config.noAutoShutdown) {
|
|
478
478
|
if (!SIGNAL_HANDLERS.length) {
|
|
479
479
|
process.on("SIGTERM", async () => {
|
|
@@ -657,7 +657,7 @@ export class Runner {
|
|
|
657
657
|
* - The shutdown timeout is reached (120 seconds)
|
|
658
658
|
*
|
|
659
659
|
* When changing this timeout, update
|
|
660
|
-
*
|
|
660
|
+
* docs/general/content/versions.mdx (SIGTERM Handling section).
|
|
661
661
|
*/
|
|
662
662
|
async #waitForActorsToStop(ws: WebSocket): Promise<void> {
|
|
663
663
|
const shutdownTimeout = 120_000; // 120 seconds
|