feat(pruner): limit number of blocks to prune per run (#5627)

This commit is contained in:
Alexey Shekhirin
2023-11-29 19:29:39 +00:00
committed by GitHub
parent 15992d9bdf
commit 471c28e889
3 changed files with 28 additions and 10 deletions

View File

@ -533,6 +533,7 @@ where
vec![],
5,
self.base_config.chain_spec.prune_delete_limit,
config.max_reorg_depth() as usize,
watch::channel(None).1,
);