mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
perf: release listner lock early (#17400)
This commit is contained in:
@@ -433,13 +433,15 @@ where
|
||||
});
|
||||
}
|
||||
|
||||
let mut listener = self.event_listener.write();
|
||||
{
|
||||
let mut listener = self.event_listener.write();
|
||||
|
||||
for tx in &promoted {
|
||||
listener.pending(tx.hash(), None);
|
||||
}
|
||||
for tx in &discarded {
|
||||
listener.discarded(tx.hash());
|
||||
for tx in &promoted {
|
||||
listener.pending(tx.hash(), None);
|
||||
}
|
||||
for tx in &discarded {
|
||||
listener.discarded(tx.hash());
|
||||
}
|
||||
}
|
||||
|
||||
// This deletes outdated blob txs from the blob store, based on the account's nonce. This is
|
||||
|
||||
Reference in New Issue
Block a user