runtime mgmt: avoid pull_log resource hog
This commit is contained in:
parent
ed813013b0
commit
93e25169fb
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue