Post
Topic
Board Mining (Altcoins)
Re: hsrminer - Nvidia mining software for various algos by palgin&alexkap
by
apiontek
on 05/01/2018, 05:21:19 UTC
Please add a flag to set the number of stratum connection retries before exiting the miner if a stratum connection fails/dies - I'd like to use this version in an automation script, but there's no clean way to shut it down Smiley

Just need a "--retries=###" type command-line parameter Smiley

Seconded.

And/or, if you could make sure the output is unbuffered. I run my miners in a python script with subprocess.popen() and pipe stdout, which helps me watch for disconnects. This works with cli apps that don't buffer their output, and on linux, it works with everything since I can prepend "stdbuf -o0" to force unbuffered stdout ... but on Windows, the process just hangs until enough connection errors mount up to fill the buffer. Then I can catch the error and kill the program, but if it just had a control for # of retries, and/or didn't buffer stdout, I could use it.