diff --git a/jsapi/worker/worker.cpp b/jsapi/worker/worker.cpp index 525508a..511167f 100644 --- a/jsapi/worker/worker.cpp +++ b/jsapi/worker/worker.cpp @@ -16,7 +16,7 @@ #include "worker.h" namespace OHOS::CCRuntime::Worker { -const static int MAXWORKERS = 50; +const static int MAXWORKERS = 8; static std::list g_workers; static std::mutex g_workersMutex;