fix(core): increase interval attempts for daemon server available on … (#16813)

This commit is contained in:
Richard Roozenboom 2023-06-06 20:14:18 +02:00 committed by GitHub
parent 020af3267d
commit 5c7db06508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(