Seems to work on remote

This commit is contained in:
Dominik Werder
2021-05-05 16:03:46 +02:00
parent 1f3197794f
commit 1ae5c3dc80
5 changed files with 45 additions and 63 deletions

View File

@@ -161,7 +161,6 @@ impl Stream for PreBinnedValueStream {
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Item>> {
use Poll::*;
info!("PreBinnedValueStream poll_next ENTER");
if self.completed {
panic!("PreBinnedValueStream poll_next on completed");
}
@@ -169,7 +168,7 @@ impl Stream for PreBinnedValueStream {
self.completed = true;
return Ready(None);
}
let u = 'outer: loop {
'outer: loop {
break if let Some(fut) = self.fut2.as_mut() {
match fut.poll_next_unpin(cx) {
Ready(Some(k)) => match k {
@@ -218,8 +217,6 @@ impl Stream for PreBinnedValueStream {
self.open_check_local_file = Some(Box::pin(fut));
continue 'outer;
};
};
info!("PBV EXIT WITH {:?}", u);
u
}
}
}