Bump jsonrpc crates and remove old tokio (#19454)

This commit is contained in:
Tyera Eulberg
2021-08-26 17:53:44 -06:00
committed by GitHub
parent 715c5e64c4
commit 39a5431790
11 changed files with 294 additions and 892 deletions

View File

@@ -137,10 +137,9 @@ impl AdminRpc for AdminRpcImpl {
pub fn run(ledger_path: &Path, metadata: AdminRpcRequestMetadata) {
let admin_rpc_path = ledger_path.join("admin.rpc");
let event_loop = tokio::runtime::Builder::new()
.threaded_scheduler()
.enable_all()
let event_loop = tokio::runtime::Builder::new_multi_thread()
.thread_name("sol-adminrpc-el")
.enable_all()
.build()
.unwrap();