Set the full verify concurrency limit to 5 (#4758)

This commit is contained in:
teor 2022-07-07 07:53:10 +10:00 committed by GitHub
parent 87f4308caf
commit 1e1e4d497c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -220,12 +220,14 @@ impl Default for SyncSection {
// A few max-length checkpoints.
checkpoint_verify_concurrency_limit: sync::DEFAULT_CHECKPOINT_CONCURRENCY_LIMIT,
// Guaranteed to verify a bunch of large blocks in under 60 seconds
// (so that the committed block height changes in every progress log).
// This default is deliberately very low, so Zebra can verify a few large blocks in under 60 seconds,
// even on machines with only a few cores.
//
// TODO: when we implement orchard proof batching, try increasing to 100 or more
// This lets users see the committed block height changing in every progress log.
//
// TODO: when we implement orchard proof batching, try increasing to 20 or more
// limit full verification concurrency based on block transaction counts?
full_verify_concurrency_limit: 30,
full_verify_concurrency_limit: 5,
}
}
}