@abtnode/constant 1.16.53 → 1.16.54-beta-20251017-133309-7d40faa6

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.
Files changed (2) hide show
  1. package/index.js +9 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -479,6 +479,15 @@ module.exports = Object.freeze({
479
479
  PROCESS_NAME_LOG_ROTATE: 'abt-node-log-rotate',
480
480
  PROCESS_NAME_EVENT_HUB: 'abt-node-event-hub',
481
481
  PROCESS_NAME_PM2_EVENT_HUB: 'abt-node-pm2-event-hub',
482
+ PROCESS_NAME_ORPHAN_CLEANUP: 'abt-node-orphan-cleanup',
483
+
484
+ // Process script paths for orphan detection
485
+ DAEMON_SCRIPT_PATH: 'cli/lib/process/daemon.js',
486
+ SERVICE_SCRIPT_PATH: 'cli/lib/process/service.js',
487
+
488
+ // Orphan process cleanup settings
489
+ ORPHAN_CHECK_DELAY: 60 * 1000, // 60 seconds - delay before checking for orphan processes
490
+ ORPHAN_MIN_UPTIME: 60, // 60 seconds - minimum process uptime to be considered orphan
482
491
 
483
492
  BLOCKLET_LAUNCHER_URL: 'https://launcher.arcblock.io/',
484
493
  WEB_WALLET_URL: 'https://web.abtwallet.io',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.53",
6
+ "version": "1.16.54-beta-20251017-133309-7d40faa6",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^29.7.0"
22
22
  },
23
- "gitHead": "7c37a9bd063192fb0a14921b9d0317de953016ff"
23
+ "gitHead": "78c11632ed47a75502a20c257568fc9e1655ca05"
24
24
  }