Skip to content
Commit c11c1f38 authored by Vsevolod Stakhov's avatar Vsevolod Stakhov Committed by GitHub
Browse files

Implement prune only stagnant check mode (#5761)



* Limit number of elements loaded from the stagnant key

This will likely be required if we enable stagnant prunning as currently database has way
too many entries to be prunned in a single iteration

* Fmt run

* Slightly improve logging

* Some more debug nits

* Fmt pass

* Add stagnant prunning delay

* Enable stagnant check worker

* Implement stagnant pruning without stagnant checks

* Update node/core/chain-selection/src/tree.rs

Co-authored-by: default avatarAndronik <[email protected]>

* Apply suggestions from code review

Co-authored-by: default avatarAndronik <[email protected]>

Co-authored-by: default avatarAndronik <[email protected]>
parent 1d9d959b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment