@rivetkit/engine-runner 2.1.4 → 2.1.6
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 +4 -1
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.js +4 -1
- package/dist/mod.js.map +1 -1
- package/package.json +2 -2
- package/src/mod.ts +6 -1
package/dist/mod.cjs
CHANGED
|
@@ -1507,7 +1507,7 @@ async function importWebSocket() {
|
|
|
1507
1507
|
|
|
1508
1508
|
// src/mod.ts
|
|
1509
1509
|
var KV_EXPIRE = 3e4;
|
|
1510
|
-
var PROTOCOL_VERSION =
|
|
1510
|
+
var PROTOCOL_VERSION = 6;
|
|
1511
1511
|
var EVENT_BACKLOG_WARN_THRESHOLD = 1e4;
|
|
1512
1512
|
var SIGNAL_HANDLERS = [];
|
|
1513
1513
|
var RunnerShutdownError = class extends Error {
|
|
@@ -1830,6 +1830,9 @@ var Runner = class {
|
|
|
1830
1830
|
* - All actors are stopped
|
|
1831
1831
|
* - The WebSocket connection is closed
|
|
1832
1832
|
* - The shutdown timeout is reached (120 seconds)
|
|
1833
|
+
*
|
|
1834
|
+
* When changing this timeout, update
|
|
1835
|
+
* website/src/content/docs/actors/versions.mdx (SIGTERM Handling section).
|
|
1833
1836
|
*/
|
|
1834
1837
|
async #waitForActorsToStop(ws) {
|
|
1835
1838
|
const shutdownTimeout = 12e4;
|