channel-worker 1.6.19 → 1.7.0

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.
@@ -153,14 +153,8 @@ class NstManager {
153
153
  console.log(`[nst] Running browsers: ${running.map(b => b.name || b.profileId).join(', ') || 'none'}`);
154
154
  const isRunning = running.some(b => b.profileId === profileId);
155
155
  if (isRunning) {
156
- console.log(`[nst] Profile ${profileId} already running — stopping first`);
157
- try {
158
- await this.stopProfile(profileId);
159
- console.log(`[nst] Stop command sent, waiting 3s...`);
160
- await new Promise(r => setTimeout(r, 3000));
161
- } catch (e) {
162
- console.warn(`[nst] Stop failed: ${e.message} — continuing anyway`);
163
- }
156
+ console.log(`[nst] Profile ${profileId} already running — skipping launch`);
157
+ return { profileId, alreadyRunning: true };
164
158
  }
165
159
 
166
160
  // Update profile language to en-US (Custom) before launch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "1.6.19",
3
+ "version": "1.7.0",
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": {