Use 4 threads

This commit is contained in:
Maximilian Ammann 2022-04-05 17:24:14 +02:00
parent 6e3c91ab8e
commit 567fb1c1d7

View File

@ -48,7 +48,7 @@ impl Map {
#[cfg(not(target_arch = "wasm32"))]
pub fn run_sync_with_max_frames(self, max_frames: Option<u64>) {
tokio::runtime::Builder::new_multi_thread()
.worker_threads(2)
.worker_threads(4)
.enable_io()
.enable_time()
.on_thread_start(|| {