default thread count
This commit is contained in:
parent
397d4d03e5
commit
bc9e90018c
|
@ -31,7 +31,6 @@ fn main() -> anyhow::Result<()> {
|
||||||
let chain_id = rpc_config.shared.chain_id;
|
let chain_id = rpc_config.shared.chain_id;
|
||||||
|
|
||||||
let rt = runtime::Builder::new_multi_thread()
|
let rt = runtime::Builder::new_multi_thread()
|
||||||
.worker_threads(4)
|
|
||||||
.enable_all()
|
.enable_all()
|
||||||
.thread_name_fn(move || {
|
.thread_name_fn(move || {
|
||||||
static ATOMIC_ID: AtomicUsize = AtomicUsize::new(0);
|
static ATOMIC_ID: AtomicUsize = AtomicUsize::new(0);
|
||||||
|
|
Loading…
Reference in New Issue