server updates

This commit is contained in:
Brad Stein 2025-06-16 21:48:18 -05:00
parent 5917291d12
commit 9dedb58835

View File

@ -34,7 +34,7 @@ impl Relay for Handler {
let mut in_stream = request.into_inner();
let kb = self.kb.clone();
let ms = self.ms.clone();
let (tx, rx) = tokio::sync::mpsc::channel(32);
let (tx, rx) = tokio::sync::mpsc::channel::<Result<HidReport, E>>(32);
tokio::spawn(async move {
// catch panics so that they are logged instead of killing the task silently