yuzi-co / Forager

Advanced multi-algo profit switching miner
GNU General Public License v3.0
24 stars 14 forks source link

Sometimes miner window does not refresh #96

Closed DrRobotto closed 5 years ago

DrRobotto commented 5 years ago

Sometimes the miner window does not refresh on my mini rig and therefore there is no autoswitching anymore. Unfortunately I can not reproduce the error, it occurs from time to time.

Keep up the good work!

yuzi-co commented 5 years ago

Its probably a Windows issue with Quick Edit. When you click in the Forager window, it selects something and prevents from Forager fro updating.

There is nothing I can do about it. The only recommendation is to disable Quick Edit in the Properties menu of the cmd console

DrRobotto commented 5 years ago

Hm, but even after some time when I am not at the computer?

yuzi-co commented 5 years ago

Shouldn't be. But a single click with a mouse on the window can be enough, which can happen by mistake. If it happens, try to see if any part on the screen is selected and if pressing any key in the console fixes it.

DrRobotto commented 5 years ago

Normally it fixes the issue, but not in this case ... I have to restart the miner window

DrRobotto commented 5 years ago

Now I try to diasble the quick edit option and report back if it happens again

DrRobotto commented 5 years ago

Did not change anything. Same behaviour. I will write a small watchdog script which restarts the miner if there is no status report

DrRobotto commented 5 years ago

I think I found the issue: I removed the api call to MinerStatusUrl and it did not occur again ... maybe the service does not respond to the request and therefore the script waits for it?

yuzi-co commented 5 years ago

I will make sure it runs asynchronously Thank you for the catch

yuzi-co commented 5 years ago

report is now async, so it should solve this issue