fix not using the workers config option

This commit is contained in:
Bryan Stitt 2023-01-24 23:21:50 -08:00
parent 37656a596c
commit 0c058614ce

View File

@ -289,6 +289,10 @@ fn main() -> anyhow::Result<()> {
rt_builder.enable_all();
if cli_config.workers > 0 {
rt_builder.worker_threads(cli_config.workers);
}
if let Some(top_config) = top_config.as_ref() {
let chain_id = top_config.app.chain_id;