Commit 9d5f9d21 authored by Tom Zander's avatar Tom Zander

Fix UTXO throttling feature

On low core-count machines the request to save could end up being
delayed since all threads are busy doing things like validating
transactions.
So when a really big block came in I ended up throttling while there
was no save method running in parallel at all.
This fixes this and also makes throtteling be a per-thread thing
instead of doing it inside the mutex.
parent 8f9b1600
Pipeline #37043739 passed with stages
in 24 minutes and 42 seconds