Speedup rotation (#2468)

Speedup leader to validator transitions
This commit is contained in:
Sagar Dhawan
2019-01-26 13:58:08 +05:30
committed by GitHub
parent 4bb6549895
commit d65e7b9fcc
17 changed files with 712 additions and 548 deletions

View File

@@ -17,6 +17,7 @@ use std::io::{Error, ErrorKind, Result};
use std::net::{Ipv4Addr, SocketAddr};
use std::process::exit;
use std::sync::Arc;
use std::sync::RwLock;
use std::thread::sleep;
use std::time::Duration;
@@ -258,7 +259,7 @@ fn main() {
signer_option,
cluster_entrypoint,
no_sigverify,
leader_scheduler,
Arc::new(RwLock::new(leader_scheduler)),
Some(rpc_port),
);