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 74acef2 commit 1b81b18Copy full SHA for 1b81b18
frameworks/Rust/hyperlane/src/server.rs
@@ -3,13 +3,13 @@ use tokio::runtime::{Builder, Runtime};
3
4
fn runtime() -> Runtime {
5
Builder::new_multi_thread()
6
- .worker_threads(get_thread_count() << 1)
+ .worker_threads(get_thread_count() << 2)
7
.thread_stack_size(1_048_576)
8
.max_blocking_threads(5120)
9
- .max_io_events_per_tick(65_536)
10
- .enable_all()
+ .max_io_events_per_tick(5120)
11
.global_queue_interval(64)
12
.event_interval(1)
+ .enable_all()
13
.build()
14
.unwrap()
15
}
0 commit comments