drop poh lock after record (#15930)
This commit is contained in:
parent
d370b5a4d2
commit
5460fb10a2
|
@ -443,6 +443,7 @@ impl PohRecorder {
|
|||
self.record_lock_contention_us += timing::duration_as_us(&now.elapsed());
|
||||
let now = Instant::now();
|
||||
let res = poh_lock.record(mixin);
|
||||
drop(poh_lock);
|
||||
self.record_us += timing::duration_as_us(&now.elapsed());
|
||||
if let Some(poh_entry) = res {
|
||||
let entry = Entry {
|
||||
|
|
Loading…
Reference in New Issue