From 03699b036fb81c15730f6016b6f86249913837ab Mon Sep 17 00:00:00 2001 From: wood Date: Tue, 5 Aug 2025 01:07:57 +0800 Subject: [PATCH] update readme --- README.md | 4 ++-- README_CN.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3353776..2d2cd03 100755 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ async fn main() -> Result<(), Box> { async fn test_grpc() -> Result<(), Box> { println!("Subscribing to Yellowstone gRPC events..."); - // Create low-latency configuration + // Create low-latency configuration let mut config = ClientConfig::low_latency(); // Enable performance monitoring, has performance overhead, disabled by default config.enable_metrics = true; @@ -150,7 +150,7 @@ async fn test_grpc() -> Result<(), Box> { async fn test_shreds() -> Result<(), Box> { println!("Subscribing to ShredStream events..."); - // Create low-latency configuration + // Create low-latency configuration let mut config = ShredClientConfig::low_latency(); // Enable performance monitoring, has performance overhead, disabled by default config.enable_metrics = true; diff --git a/README_CN.md b/README_CN.md index 5cefe3e..b67c11e 100644 --- a/README_CN.md +++ b/README_CN.md @@ -136,7 +136,7 @@ async fn test_grpc() -> Result<(), Box> { async fn test_shreds() -> Result<(), Box> { println!("正在订阅 ShredStream 事件..."); - // 创建低延迟配置 + // 创建低延迟配置 let mut config = ShredClientConfig::low_latency(); // 启用性能监控, 有性能损耗, 默认关闭 config.enable_metrics = true;