mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Use 4 threads
This commit is contained in:
parent
6e3c91ab8e
commit
567fb1c1d7
@ -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(|| {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user