From 246cd40411fdd5ea9eaaa2647a9cea2da6d78cf8 Mon Sep 17 00:00:00 2001 From: Mupceet Date: Mon, 4 Jul 2022 10:53:12 +0800 Subject: [PATCH] uv Signed-off-by: Mupceet --- services/init/init_common_service.c | 1 - services/init/standard/init_service.c | 1 - 2 files changed, 2 deletions(-) diff --git a/services/init/init_common_service.c b/services/init/init_common_service.c index d6ed01ea..bf4ced6a 100644 --- a/services/init/init_common_service.c +++ b/services/init/init_common_service.c @@ -309,7 +309,6 @@ void EnterServiceSandbox(Service *service) _exit(0x7f); // 0x7f: user specified } } - INIT_CHECK_ONLY_ELOG(unsetenv("UV_THREADPOOL_SIZE") == 0, "set UV_THREADPOOL_SIZE error : %d.", errno); #ifndef STARTUP_INIT_TEST char *argv[] = { (char *)"/bin/sh", NULL }; INIT_CHECK_ONLY_ELOG(execv(argv[0], argv) == 0, diff --git a/services/init/standard/init_service.c b/services/init/standard/init_service.c index bcdc7b9d..88265d5a 100644 --- a/services/init/standard/init_service.c +++ b/services/init/standard/init_service.c @@ -81,7 +81,6 @@ int ServiceExec(const Service *service) INIT_ERROR_CHECK(setpriority(PRIO_PROCESS, 0, service->importance) == 0, _exit(0x7f), "setpriority failed for %s, importance = %d, err=%d", service->name, service->importance, errno); } - INIT_CHECK_ONLY_ELOG(unsetenv("UV_THREADPOOL_SIZE") == 0, "set UV_THREADPOOL_SIZE error : %d.", errno); OpenHidebug(service->name); // L2 Can not be reset env if (service->extraArgs.argv != NULL && service->extraArgs.count > 0) { -- GitLab