Hey dev!
Can you please fix "-r 0" flag behavior? It's impossible to setup multialgo mining. I noticed there is also --exit-on-connection-lost flag which doesn't really do anything in my case (first connection).
Example with "-r 0 --exit-on-connection-lost -T 5" flags:
20181018 22:58:41 Starting on: mine.zpool.ca:3643
20181018 22:58:41 ApiServer: HTTP server started on 0.0.0.0:4072
20181018 22:58:41 ApiServer: Telnet server started on 0.0.0.0:5072
20181018 22:58:41 WARN: GPU #1: PNY GeForce GTX 1080 Ti, intensity set to 24, 16777216 cuda threads
20181018 22:58:46 WARN: Connection with pool timed out. Trying to reconnect...
20181018 22:58:52 WARN: Connection with pool timed out. Trying to reconnect...
CCminer behavior with "-r 0" flag is simple. At launch try connect to the pool. If not possible, exit and don't waste time (~1 second). If yes - start mining.
Once the pool drops the connection for the first time, exit right away.
Other closed source competitors seem to have "correct" behavior, but i'd like to stick with t-rex mostly because of attitude.
Thanks!