From 5c7db065089c20ec65d1f0c6c1c44d3464da37b8 Mon Sep 17 00:00:00 2001 From: Richard Roozenboom Date: Tue, 6 Jun 2023 20:14:18 +0200 Subject: [PATCH] =?UTF-8?q?fix(core):=20increase=20interval=20attempts=20f?= =?UTF-8?q?or=20daemon=20server=20available=20on=20=E2=80=A6=20(#16813)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/nx/src/daemon/client/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nx/src/daemon/client/client.ts b/packages/nx/src/daemon/client/client.ts index 59800a3f0d34c..4cac8dee28a34 100644 --- a/packages/nx/src/daemon/client/client.ts +++ b/packages/nx/src/daemon/client/client.ts @@ -366,7 +366,7 @@ export class DaemonClient { if (await this.isServerAvailable()) { clearInterval(id); resolve(backgroundProcess.pid); - } else if (attempts > 1000) { + } else if (attempts > 6000) { // daemon fails to start, the process probably exited // we print the logs and exit the client reject(