Hold C2ME byte permits through ME writer completion

Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
Alexey
2026-07-10 16:35:39 +03:00
parent 2ac93c6d49
commit 893ce0cf36
5 changed files with 55 additions and 14 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ async fn writer_command_loop(
_ = cancel.cancelled() => return Ok(()),
cmd = rx.recv() => {
match cmd {
Some(WriterCommand::Data(payload)) => {
Some(WriterCommand::Data { payload, _permit }) => {
rpc_writer.send(&payload).await?;
}
Some(WriterCommand::DataAndFlush(payload)) => {