Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Feb 29, 2024
1 parent 507d60c commit 2115f6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/storage/libmdbx-rs/src/txn_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ mod read_transactions {
} else {
// Happy path, the transaction has been aborted by us with no errors.
warn!(target: "libmdbx", ?open_duration, "Long-lived read transaction has been aborted");
// Add transaction to the list of timeouted transactions that were not
// aborted by the user yet.
self.timeouted_not_aborted.insert(ptr as usize);
}
}
Expand Down

0 comments on commit 2115f6b

Please sign in to comment.