From: Nicki Křížek Date: Fri, 20 Sep 2024 12:31:25 +0000 (+0200) Subject: Revert "Double the number of threadpool threads" X-Git-Tag: v9.21.2~26^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=842abe9fbf99d6b14912182811830a3c6564da5c;p=thirdparty%2Fbind9.git Revert "Double the number of threadpool threads" This reverts commit 6857df20a40f4e05f465a7a3f5d24eeedce8fc6c. --- diff --git a/lib/isc/loop.c b/lib/isc/loop.c index 68a69ee520c..fb183569736 100644 --- a/lib/isc/loop.c +++ b/lib/isc/loop.c @@ -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); } }