Configuring tokio for linux environment

This commit is contained in:
vandomej 2025-09-11 14:49:08 -07:00
parent 30db8b31e7
commit f00e246ce7

View file

@ -38,6 +38,7 @@ fn main() -> Result<()> {
// Manually configure the Tokio runtime
let runtime: Result<()> = tokio::runtime::Builder::new_multi_thread()
.enable_io()
.worker_threads(num_cpus::get())
// .worker_threads(NUM_THREADS)
.build()?