summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2022-05-04 17:30:34 +0300
committerGitHub <noreply@github.com>2022-05-04 17:30:34 +0300
commit4c8107308e344098f99523bd680f8cf0eb4d3117 (patch)
treeef4cf1573f221c1e4f54d361ace8d88cee8fd97d /daemon
parent4078661e3342d7b311b2ec314f5323b6229c689c (diff)
* Add a parameter for the libuv worker threads to pre-initialize (#12814)
* Set the thread name for libuv threads to LIBUV_WORKER * Make sure the dbengine thread has the correct name
Diffstat (limited to 'daemon')
-rw-r--r--daemon/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c
index 47017ba027..4b90dd74d6 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -1097,6 +1097,7 @@ int main(int argc, char **argv) {
// prepare configuration environment variables for the plugins
+ setenv("UV_THREADPOOL_SIZE", config_get(CONFIG_SECTION_GLOBAL, "libuv worker threads", "16"), 1);
get_netdata_configured_variables();
set_global_environment();