Reduce miner thread sleep to 1 microsecond (#2342)

This commit is contained in:
Quentin Le Sceller 2019-01-11 18:50:58 -05:00 committed by Ignotus Peverell
parent 7698b28e16
commit 424bb28c7d

View file

@ -782,7 +782,7 @@ impl StratumServer {
self.handle_rpc_requests(&mut stratum_stats.clone());
// sleep before restarting loop
thread::sleep(Duration::from_millis(50));
thread::sleep(Duration::from_micros(1));
} // Main Loop
} // fn run_loop()
} // StratumServer