From cb8cf663bcb06be40afacbad991e66c0ab87523e Mon Sep 17 00:00:00 2001 From: wangzhaoyong Date: Mon, 1 Sep 2025 20:39:23 +0800 Subject: [PATCH] del taskpool log Issue: [Bug]: del taskpool log https://gitee.com/openharmony/commonlibrary_ets_utils/issues/ICVULZ Signed-off-by: wangzhaoyong Change-Id: Ibef130ab05c93d0a58cdf1e0b392868a99dbae03 --- js_concurrent_module/taskpool/task.cpp | 2 +- js_concurrent_module/taskpool/task_manager.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js_concurrent_module/taskpool/task.cpp b/js_concurrent_module/taskpool/task.cpp index 333040f1..872fbd3b 100644 --- a/js_concurrent_module/taskpool/task.cpp +++ b/js_concurrent_module/taskpool/task.cpp @@ -1999,7 +1999,7 @@ void Task::TriggerEnqueueCallback() if (info != nullptr) { ExecuteListenerCallback(info, taskId_); } else { // LOCV_EXCL_BR_LINE - HILOG_WARN("taskpool:: onEnqueuedCallBackInfo is null"); + HILOG_DEBUG("taskpool:: onEnqueuedCallBackInfo is null"); } } } // namespace Commonlibrary::Concurrent::TaskPoolModule \ No newline at end of file diff --git a/js_concurrent_module/taskpool/task_manager.cpp b/js_concurrent_module/taskpool/task_manager.cpp index f1e40caf..c3517807 100644 --- a/js_concurrent_module/taskpool/task_manager.cpp +++ b/js_concurrent_module/taskpool/task_manager.cpp @@ -575,7 +575,7 @@ template void TaskManager::TryExpandWithCheckIdle() { if (GetNonIdleTaskNum() == 0) { - HILOG_INFO("taskpool:: no need to create worker"); + HILOG_INFO("taskpool:: no need expand"); return; } @@ -926,7 +926,7 @@ void TaskManager::NotifyExecuteTask() std::lock_guard lock(workersMutex_); if (GetNonIdleTaskNum() == 0 && workers_.size() != idleWorkers_.size()) { // When there are only idle tasks and workers executing them, it is not triggered - HILOG_INFO("taskpool:: not notify execute task"); + HILOG_INFO("taskpool:: no need notify"); return; } if (idleWorkers_.size() == 0) { -- Gitee