diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-05-25 22:40:58 +0200 |
---|---|---|
committer | Santiago Gimeno <santiago.gimeno@gmail.com> | 2018-08-21 10:48:24 +0200 |
commit | 90891b4232e91dbd7a2e2077e4d23d16a374b41d (patch) | |
tree | 7695ead7cc6413371aabfa8c5dd3843a282901fc /docs/src | |
parent | 69c43d987b6acab9a90fe10ccce208f2ee38e7f6 (diff) | |
download | libuv-90891b4232e91dbd7a2e2077e4d23d16a374b41d.tar.gz libuv-90891b4232e91dbd7a2e2077e4d23d16a374b41d.zip |
unix,win: limit concurrent DNS calls to nthreads/2
If `nthreads / 2` (rounded up) DNS calls are outstanding,
queue more work of that kind instead of letting it take over
more positions in the thread pool, blocking other work
such as the (usually much faster) file system I/O or
user-scheduled work.
Fixes: https://github.com/nodejs/node/issues/8436
PR-URL: https://github.com/libuv/libuv/pull/1845
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions