Skip to content
  • Vsevolod Stakhov's avatar
    Implement prune only stagnant check mode (#5761) · c11c1f38
    Vsevolod Stakhov authored
    
    
    * 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]>
    c11c1f38