Increase threads to 4.
This commit is contained in:
parent
6701aff2a2
commit
7624bcf49e
@ -269,7 +269,9 @@ fn setup_rpc_server(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some(server.start_http(url, cors_domain, 1))
|
// 4 is the number of threads which also happens to be the maximum number of concurrent
|
||||||
|
// connections our jsonrpc can manage.
|
||||||
|
Some(server.start_http(url, cors_domain, 4))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "rpc"))]
|
#[cfg(not(feature = "rpc"))]
|
||||||
|
Loading…
Reference in New Issue
Block a user