1
0
Fork 0

runtime mgmt: avoid pull_log resource hog

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

View File

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