Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.1: PrioritizationFeeCache: make update() never sleep on the sender…
… channel (backport of #3813) (#3818) PrioritizationFeeCache: make update() never sleep on the sender channel (#3813) Avoid update() callers having to notify the service_loop() thread by doing an explicit sleep instead of sleeping on channel.recv() when the channel is empty. This avoids the case in which multiple replay/banking threads call update() at the same time and end up... sleeping themselves acquiring the mutex to notify the receiver. (cherry picked from commit 53af223) Co-authored-by: Alessandro Decina <[email protected]>
- Loading branch information