Skip to content

Commit

Permalink
[review] drop the storage write lock after DAG gets linearized.
Browse files Browse the repository at this point in the history
  • Loading branch information
akichidis committed Jan 2, 2025
1 parent e82934f commit ebb5226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/core/src/linearizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ impl Linearizer {
&mut dag_state,
);

drop(dag_state);

// Create the Commit.
let commit = Commit::new(
last_commit_index + 1,
Expand Down

0 comments on commit ebb5226

Please sign in to comment.