17 lines
421 B
Rust
Raw Normal View History

use anyhow::Result;
use sequencer_runner::main_runner;
pub const NUM_THREADS: usize = 4;
2025-11-19 17:33:25 +03:00
// TODO: Why it requires config as a directory and not as a file?
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())
}