use anyhow::Result; use node_runner::main_runner; pub const NUM_THREADS: usize = 4; fn main() -> Result<()> { actix::System::with_tokio_rt(|| { tokio::runtime::Builder::new_multi_thread() .worker_threads(NUM_THREADS) .enable_all() .build() .unwrap() }) .block_on(main_runner()) }