diff options
author | Vlad A <vladmore@gmail.com> | 2019-06-07 10:59:44 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2019-06-07 10:59:44 +0200 |
commit | 9a10058e72fb62c3e6ffd82e1f3f393c717e63f5 (patch) | |
tree | b752909d6b1428001494be9150b0f23fbcfadd9d /docs/src | |
parent | d89bd156cfc9f66003a430c31149c4b94e18b904 (diff) | |
download | libuv-9a10058e72fb62c3e6ffd82e1f3f393c717e63f5.tar.gz libuv-9a10058e72fb62c3e6ffd82e1f3f393c717e63f5.zip |
threadpool: increase UV_THREADPOOL_SIZE limit
Increase the UV_THREADPOOL_SIZE limit to 1024 and update the docs.
Fixes: https://github.com/libuv/libuv/pull/2296
PR-URL: https://github.com/libuv/libuv/pull/2314
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/threadpool.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/threadpool.rst b/docs/src/threadpool.rst index 93bd236d..ed41c37f 100644 --- a/docs/src/threadpool.rst +++ b/docs/src/threadpool.rst @@ -10,7 +10,9 @@ operations, as well as getaddrinfo and getnameinfo requests. Its default size is 4, but it can be changed at startup time by setting the ``UV_THREADPOOL_SIZE`` environment variable to any value (the absolute maximum -is 128). +is 1024). + +.. versionchanged:: 1.29.2 the maximum UV_THREADPOOL_SIZE allowed was increased from 128 to 1024. The threadpool is global and shared across all event loops. When a particular function makes use of the threadpool (i.e. when using :c:func:`uv_queue_work`) |