Skip to content

Commit

Permalink
rust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ameyc committed Sep 6, 2024
1 parent d4213c7 commit 9a2391d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
38 changes: 19 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions crates/core/src/datastream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,7 @@ impl DataStream {
if orchestrator::SHOULD_CHECKPOINT {
let plan = self.df.as_ref().clone().create_physical_plan().await?;
let node_ids = extract_node_ids_and_partitions(&plan);
let max_buffer_size = node_ids
.iter()
.map(|x| x.1)
.sum::<usize>();
let max_buffer_size = node_ids.iter().map(|x| x.1).sum::<usize>();
let mut orchestrator = Orchestrator::default();
SpawnedTask::spawn_blocking(move || orchestrator.run(max_buffer_size));
}
Expand Down

0 comments on commit 9a2391d

Please sign in to comment.