Reduce miner thread sleep to 1 microsecond (#2342)
This commit is contained in:
committed by
Ignotus Peverell
parent
7698b28e16
commit
424bb28c7d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user