mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Reduce miner thread sleep to 1 microsecond (#2342)
This commit is contained in:
parent
7698b28e16
commit
424bb28c7d
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ impl StratumServer {
|
||||||
self.handle_rpc_requests(&mut stratum_stats.clone());
|
self.handle_rpc_requests(&mut stratum_stats.clone());
|
||||||
|
|
||||||
// sleep before restarting loop
|
// sleep before restarting loop
|
||||||
thread::sleep(Duration::from_millis(50));
|
thread::sleep(Duration::from_micros(1));
|
||||||
} // Main Loop
|
} // Main Loop
|
||||||
} // fn run_loop()
|
} // fn run_loop()
|
||||||
} // StratumServer
|
} // StratumServer
|
||||||
|
|
Loading…
Reference in a new issue