diff --git a/services/init/init_common_service.c b/services/init/init_common_service.c index d6ed01ea06a65fe7b348ebc4be5ffde32d06b3f0..bf4ced6afe2dc9fcd288c7d2af72284f1788ecba 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 bcdc7b9dbdd4ce69965041214399ab461a3efe4c..88265d5ae6c6cb82494e208babca6fa45d21fd4d 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) {