Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Added sleep time before miner relaunch
Browse files Browse the repository at this point in the history
  • Loading branch information
nicehashdev committed Oct 20, 2015
1 parent 9d06899 commit 587b77d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NiceHashMiner/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ void SMAMinerCheck_Tick(object sender, EventArgs e)
if (m.CurrentAlgo != MaxProfitIndex)
{
if (m.CurrentAlgo >= 0)
{
m.Stop();
// wait 0.5 seconds before going on
System.Threading.Thread.Sleep(500);
}
}

m.Start(m.SupportedAlgorithms[MaxProfitIndex].NiceHashID,
Expand Down

0 comments on commit 587b77d

Please sign in to comment.