gm-plugkit 2.0.1203 → 2.0.1205
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 +1 -1
- package/plugkit-wasm-wrapper.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1205",
|
|
4
4
|
"description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/plugkit-wasm-wrapper.js
CHANGED
|
@@ -1154,7 +1154,7 @@ async function runSpoolWatcher(instance, spoolDir) {
|
|
|
1154
1154
|
setInterval(sweepStalePeers, 60_000);
|
|
1155
1155
|
setTimeout(sweepStalePeers, 5000);
|
|
1156
1156
|
|
|
1157
|
-
const IDLE_LIMIT_MS = parseInt(process.env.PLUGKIT_IDLE_LIMIT_MS, 10) ||
|
|
1157
|
+
const IDLE_LIMIT_MS = parseInt(process.env.PLUGKIT_IDLE_LIMIT_MS, 10) || 60 * 60 * 1000;
|
|
1158
1158
|
const IDLE_CHECK_MS = 60_000;
|
|
1159
1159
|
const SHUTDOWN_REASON_PATH = path.join(spoolDir, '.shutdown-reason.json');
|
|
1160
1160
|
const STATUS_PATH_FOR_TEARDOWN = path.join(spoolDir, '.status.json');
|
|
@@ -1483,6 +1483,8 @@ async function runSpoolWatcher(instance, spoolDir) {
|
|
|
1483
1483
|
pid: process.pid,
|
|
1484
1484
|
ts: Date.now(),
|
|
1485
1485
|
version: resolveVersion(instance),
|
|
1486
|
+
wrapper_sha: _ownWrapperSha12 || null,
|
|
1487
|
+
idle_limit_ms: IDLE_LIMIT_MS,
|
|
1486
1488
|
}));
|
|
1487
1489
|
} catch (_) {}
|
|
1488
1490
|
}
|