From c183bbda3b2fff7335a8199fe2fee003ea2dd807 Mon Sep 17 00:00:00 2001 From: luciferWei Date: Tue, 6 May 2025 16:32:18 +0800 Subject: [PATCH] =?UTF-8?q?git=20commit=20-s=20=20-m=20"Feat=EF=BC=9A?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=94=B9=E5=8A=A8=20=20\nSigned-off-by:=20Lu?= =?UTF-8?q?ciferWei=20"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BUILD.gn | 2 +- src/common/define.h | 1 - src/host/translate.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 74bf4382..c41d453f 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -38,6 +38,7 @@ hdc_common_sources = [ "src/common/forward.cpp", "src/common/header.cpp", "src/common/heartbeat.cpp", + "src/common/server_cmd_log.cpp", "src/common/session.cpp", "src/common/task.cpp", "src/common/tcp.cpp", @@ -45,7 +46,6 @@ hdc_common_sources = [ "src/common/transfer.cpp", "src/common/usb.cpp", "src/common/uv_status.cpp", - "src/common/server_cmd_log.cpp", ] hash_sources = [ diff --git a/src/common/define.h b/src/common/define.h index 955df691..4bd49333 100644 --- a/src/common/define.h +++ b/src/common/define.h @@ -230,6 +230,5 @@ const uint64_t MAX_COMPRESS_LOG_FILE_SIZE = (50) * 1024 * 1024; // 50MB const size_t MAX_SAVE_CMD_LOG_TO_FILE_CYCLE = 10; const size_t MAX_SAVE_CMD_LOG_TO_FILE_COUNTS = 1500; const size_t MAX_PROCESS_TIMEOUT = 120; // 120 seconds -const size_t MIN_SLEPP_TIME = 1; // 1ms } // namespace Hdc #endif // HDC_DEFINE_H diff --git a/src/host/translate.cpp b/src/host/translate.cpp index b5a984ac..386416a5 100755 --- a/src/host/translate.cpp +++ b/src/host/translate.cpp @@ -206,7 +206,7 @@ namespace TranslateCommand { "\%OHOS_HDC_HEARTBEAT\% - Set whether the hdc heartbeat function is disabled\n" " (1: disabled, other: enabled, default: enabled)\n" "\%OHOS_HDC_CMD_RECORD\% - Set whether the hdc command record function is enabled\n" - " (1: enabled, other: disabled, default: disabled)\n" + " (1: enabled, other: disabled, default: disabled)\n" #ifdef FEATURE_HOST_LOG_COMPRESS "\%OHOS_HDC_LOG_LIMIT\% - Set the number of logs that trigger the total" " log file size statistics (default 300 (files))\n" -- Gitee