Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Setting UV_THREADPOOL_SIZE for node v0.10.x #16

Closed
springmeyer opened this issue Apr 25, 2013 · 1 comment
Closed

Setting UV_THREADPOOL_SIZE for node v0.10.x #16

springmeyer opened this issue Apr 25, 2013 · 1 comment

Comments

@springmeyer
Copy link
Contributor

If running node v0.10.x we can now bump the threadpool size above 4 via the UV_THREADPOOL_SIZE. It looks like this needs to be set before node is run, but I need to research this more to be sure. We should also keep an eye on joyent/libuv#649 (comment) to see if/when node/libuv move to autoscaling.

@springmeyer
Copy link
Contributor Author

as noted by @bnoordhuis - setting this on process.env should work, and does (i confirmed by watching the thread count reported in Activity Monitor) if we do it at startup in the index.js, which is now in place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant