opensteer 0.4.5 → 0.4.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/bin/opensteer.mjs CHANGED
@@ -499,7 +499,6 @@ async function isServerHealthy(session) {
499
499
  return true
500
500
  }
501
501
 
502
- // If there is no pid and ping fails, the socket file is stale.
503
502
  if (!pid) {
504
503
  cleanStaleFiles(session, { removeSocket: true, removePid: false })
505
504
  }
@@ -599,8 +598,6 @@ async function ensureServer(session) {
599
598
 
600
599
  const existingPid = readPid(getPidPath(session))
601
600
  if (existingPid && isPidAlive(existingPid)) {
602
- // A daemon process already owns this session. It may still be
603
- // starting up or shutting down; avoid spawning a competing daemon.
604
601
  await sleep(POLL_INTERVAL)
605
602
  continue
606
603
  }