forked from M-Labs/artiq-zynq
runtime mgmt: avoid pull_log resource hog
This commit is contained in:
parent
47cddae04f
commit
8e28d12ad0
@ -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
Block a user