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

Disable automatic Dependencies.collect #121

Closed
tndev opened this issue Apr 28, 2018 · 0 comments
Closed

Disable automatic Dependencies.collect #121

tndev opened this issue Apr 28, 2018 · 0 comments

Comments

@tndev
Copy link

tndev commented Apr 28, 2018

Why is Dependencies.collect called automatically after 2000 ms?

pmx.js:81

// WIP
var __td = setTimeout(function() {
   Dependencies.collect();
}, 2000);

If pm2 manages a large number of applications then a reboot of the server and the initial start of pm2 can become horrible slow.

Could this be something that is collected on demand?

Or at least something that could be disabled if it is not needed for the given setup?

wallet77 added a commit that referenced this issue Jun 14, 2018
fix: #121 allow user to disable dependencies collection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant