nextclaw 0.9.1 → 0.9.2
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/dist/cli/index.js +6 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -3447,12 +3447,15 @@ var ServiceCommands = class {
|
|
|
3447
3447
|
healthUrl,
|
|
3448
3448
|
timeoutMs: 8e3
|
|
3449
3449
|
});
|
|
3450
|
-
if (!readiness.ready &&
|
|
3451
|
-
|
|
3450
|
+
if (!readiness.ready && isProcessRunning(child.pid)) {
|
|
3451
|
+
const extendedTimeoutMs = process.platform === "win32" ? 2e4 : 25e3;
|
|
3452
|
+
console.warn(
|
|
3453
|
+
`Warning: Background service is still running but not ready after 8s; waiting up to ${Math.ceil(extendedTimeoutMs / 1e3)}s more.`
|
|
3454
|
+
);
|
|
3452
3455
|
readiness = await this.waitForBackgroundServiceReady({
|
|
3453
3456
|
pid: child.pid,
|
|
3454
3457
|
healthUrl,
|
|
3455
|
-
timeoutMs:
|
|
3458
|
+
timeoutMs: extendedTimeoutMs
|
|
3456
3459
|
});
|
|
3457
3460
|
}
|
|
3458
3461
|
if (!readiness.ready) {
|