channel-worker 2.2.4 → 2.2.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.
@@ -1323,7 +1323,9 @@ class CommandPoller {
1323
1323
  const lastActivity = this._profileLastActivity[profileId]
1324
1324
  || (name && this._profileLastActivity[name])
1325
1325
  || 0;
1326
- if (!lastActivity) continue; // never tracked skip (just launched by another process)
1326
+ // Only close profiles that daemon has launched (tracked in _profileLastActivity).
1327
+ // User-launched profiles have no tracking entry — leave them alone.
1328
+ if (!lastActivity) continue;
1327
1329
  if ((now - lastActivity) > IDLE_TIMEOUT) {
1328
1330
  console.log(`[profile-timeout] Closing idle profile ${browser.name || profileId} (idle ${Math.round((now - lastActivity) / 1000)}s)`);
1329
1331
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "2.2.4",
3
+ "version": "2.2.6",
4
4
  "description": "Channel Manager worker daemon — runs on remote machines to execute video pipeline jobs",
5
5
  "main": "lib/daemon.js",
6
6
  "bin": {