Support distribution

This commit is contained in:
Dominik Werder
2021-08-02 16:28:38 +02:00
parent 5e624bb2ca
commit e258718d02
2 changed files with 45 additions and 2 deletions

View File

@@ -422,8 +422,6 @@ pub async fn make_single_event_pipe(
let mut pbr = PbFileReader::new(f1).await;
pbr.read_header().await?;
info!("✓ read header {:?}", pbr.payload_type());
// TODO this is ugly:
pbr.file().seek(SeekFrom::Start(pos1)).await?;
pbr.reset_io(pos1);