mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Revert "Double the number of threadpool threads"
This reverts commit6857df20a4. (cherry picked from commit842abe9fbf)
This commit is contained in:
parent
b1b2ab0cb3
commit
38fb8bed49
1 changed files with 1 additions and 4 deletions
|
|
@ -351,10 +351,7 @@ threadpool_initialize(uint32_t workers) {
|
|||
int r = uv_os_getenv("UV_THREADPOOL_SIZE", buf,
|
||||
&(size_t){ sizeof(buf) });
|
||||
if (r == UV_ENOENT) {
|
||||
/* FIXME The number of threadpool threads has been temporarily
|
||||
* doubled to work around the issue [GL #4898] until a proper
|
||||
* solution is implemented. */
|
||||
snprintf(buf, sizeof(buf), "%" PRIu32, 2 * workers);
|
||||
snprintf(buf, sizeof(buf), "%" PRIu32, workers);
|
||||
uv_os_setenv("UV_THREADPOOL_SIZE", buf);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue