We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce25ff commit 74acef2Copy full SHA for 74acef2
frameworks/Rust/hyperlane/src/server.rs
@@ -3,12 +3,13 @@ use tokio::runtime::{Builder, Runtime};
3
4
fn runtime() -> Runtime {
5
Builder::new_multi_thread()
6
- .worker_threads(num_cpus::get() << 2)
+ .worker_threads(get_thread_count() << 1)
7
.thread_stack_size(1_048_576)
8
.max_blocking_threads(5120)
9
.max_io_events_per_tick(65_536)
10
.enable_all()
11
- .global_queue_interval(61)
+ .global_queue_interval(64)
12
+ .event_interval(1)
13
.build()
14
.unwrap()
15
}
0 commit comments