runtime mgmt: avoid pull_log resource hog

This commit is contained in:
occheung 2024-09-19 17:16:47 +08:00
parent ed813013b0
commit 93e25169fb
1 changed files with 1 additions and 0 deletions

View File

@ -261,6 +261,7 @@ mod remote_coremgmt {
if last {
write_chunk(stream, &buffer).await?;
buffer.clear();
task::r#yield().await;
}
}
Ok(packet) => {