chore: 调整从节点等待时间间隔

This commit is contained in:
Del Wang
2025-12-31 22:53:33 +08:00
committed by Del
parent ba6eaf6674
commit cdb4fcff85
+1 -1
View File
@@ -184,7 +184,7 @@ async fn handle_connection(role: ChannelRole) -> Result<()> {
let len = codec.decode(&data, &mut pcm_buf)?;
player.write(&pcm_buf[..len])?;
} else {
tokio::time::sleep(Duration::from_millis(1)).await;
tokio::time::sleep(Duration::from_millis(10)).await;
}
}
}