reset recent stats whenever connection re-established

This commit is contained in:
cryptonote-social 2020-08-01 10:32:08 -07:00
parent a6cc18133a
commit 02958b3a2d

View File

@ -112,6 +112,7 @@ func Mine(
outer:
for {
jobChannel := connectClient(cl, uname, rigid, startDiff, config, useTLS)
resetRecentStats()
var job *client.MultiClientJob
for {
onoff := getActivityMessage(excludeHrStart, excludeHrEnd, threads)