Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

Roozenboom
Copy link
Contributor

…start

For larger workspaces the start-up of the daemon server can take some take due to the initialization of the hasher.
By increasing the attempts the client will poll longer for the server to connect

closed #16809

Current Behavior

The daemon client waits 10 seconds for the daemon server to be available. This isn't enough for workspaces that contain a lot of files because the server also initialized the hasher on start-up.

Expected Behavior

By increasing the attempts to 6000 the client will wait for a minute, which gives the server more time to start up also in large workspaces

Related Issue(s)

Fixes #16809

…start

For larger workspaces the start up of the daemon server can take some take due to the initialisation
of the hasher.
By increasing the attempts the client will poll longer for the server to connect

closed nrwl#16809
@vercel
Copy link

vercel bot commented May 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2023 2:45pm

@sedghi
Copy link

sedghi commented Jun 6, 2023

@AgentEnder can we get this merged? I'm seeing the issue in the docker build for a large code base, and how does this affect lerna? will it publish another lerna version? (I'm not using nx directly)

@AgentEnder AgentEnder merged commit 5c7db06 into nrwl:master Jun 6, 2023
@Roozenboom Roozenboom deleted the bugfix/increase-daemon-server-available-attempts branch June 7, 2023 13:13
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NX Daemon failed to start the daemon process
3 participants