feat(bin, prune): pass prune segments from CLI & refactor modes (#4964)

This commit is contained in:
Alexey Shekhirin
2023-10-12 14:49:28 +03:00
committed by GitHub
parent d2a967d4b5
commit 2dbd142d60
27 changed files with 395 additions and 332 deletions

View File

@ -515,8 +515,8 @@ where
let pruner = Pruner::new(
db.clone(),
self.base_config.chain_spec.clone(),
vec![],
5,
PruneModes::none(),
self.base_config.chain_spec.prune_delete_limit,
watch::channel(None).1,
);