]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Revert "Double the number of threadpool threads"
authorNicki Křížek <nicki@isc.org>
Fri, 20 Sep 2024 12:31:25 +0000 (14:31 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 20 Sep 2024 14:51:33 +0000 (14:51 +0000)
This reverts commit 6857df20a40f4e05f465a7a3f5d24eeedce8fc6c.

(cherry picked from commit 842abe9fbf99d6b14912182811830a3c6564da5c)

lib/isc/loop.c

index 2872ed6ba2cba2b146f5da56a6630e652a414714..2e09a37e72b5d0522e95c73ca25c0a44932972ca 100644 (file)
@@ -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);
        }
 }