fix warns

This commit is contained in:
Wood
2025-10-04 08:44:07 +08:00
parent bb927628b2
commit 77caa39f0c
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ impl EventProcessor {
match source {
EventSource::Grpc => {
std::thread::spawn(move || {
let mut worker_threads =
let worker_threads =
std::thread::available_parallelism().map(|n| n.get()).unwrap_or(4); // 如果获取失败则回退到4个线程
let rt = tokio::runtime::Builder::new_multi_thread()