Hi, Mr.Claymore
Please, make the "-minspeed" option understand, that there is no internet connection, so it doesn't actually mine. So, the reason of hitting "-minspeed" limit is not a hardware issue. So, I don't want the miner restarts (reboot the PC) in this case. You understand, that it triggers all other signaling like e-mail/messages "I have to reboot", "I have been rebooted" and so on from every miner affected.
I use "-minspeed" because of AMD issue with Polaris cards. They published the driver that solves the issue, but sometimes the rig drops the speed to 60Mh instead of 160. And the only cure is to reboot. So, I'm on the fork. I need "-minspeed" to detect the real speed drop problem, but I have troubles with the "-minspeed" logic.
Please, calculate the speed for "-minspeed" only if the mining is really in progress (there is a connection to the pool).