33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From d8dd0c577bc887e123ab1449b005cc9e534fda09 Mon Sep 17 00:00:00 2001
|
|
From: fly_1997 <flylove7@outlook.com>
|
|
Date: Mon, 16 Dec 2024 15:43:25 +0800
|
|
Subject: [PATCH 2/3] fix smc_tune type
|
|
|
|
---
|
|
src/plugin/tune/system/network/smc_tune/smc_tune.cpp | 7 ++++---
|
|
1 file changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/plugin/tune/system/network/smc_tune/smc_tune.cpp b/src/plugin/tune/system/network/smc_tune/smc_tune.cpp
|
|
index e1c7f6f..2b910e7 100644
|
|
--- a/src/plugin/tune/system/network/smc_tune/smc_tune.cpp
|
|
+++ b/src/plugin/tune/system/network/smc_tune/smc_tune.cpp
|
|
@@ -19,11 +19,12 @@ int log_level = 0;
|
|
SmcTune::SmcTune()
|
|
{
|
|
name = OE_SMC_TUNE;
|
|
- description = "collect information of key thread";
|
|
+ description = "This solution uses Shared Memory Communications - Direct Memory Access(SMC-D) for TCP"
|
|
+ " connections to local peers which also support this function.";
|
|
version = "1.0.0";
|
|
- period = -1;
|
|
+ period = 1000;
|
|
priority = 2;
|
|
- type = 2;
|
|
+ type = TUNE;
|
|
}
|
|
|
|
oeaware::Result SmcTune::OpenTopic(const oeaware::Topic &topic)
|
|
--
|
|
2.33.0
|
|
|