mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf(mdbx): do not always collect the backtrace of a locked transaction (#14123)
This commit is contained in:
@ -586,8 +586,9 @@ impl TransactionPtr {
|
||||
tracing::debug!(
|
||||
target: "libmdbx",
|
||||
txn = %self.txn as usize,
|
||||
backtrace = %std::backtrace::Backtrace::force_capture(),
|
||||
"Transaction lock is already acquired, blocking..."
|
||||
backtrace = %std::backtrace::Backtrace::capture(),
|
||||
"Transaction lock is already acquired, blocking...
|
||||
To display the full backtrace, run with `RUST_BACKTRACE=full` env variable."
|
||||
);
|
||||
self.lock.lock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user