Email Notification

kires avatar
kires
Archived posts: 188
Joined: Mar 05, 2015

Email Notification

by kires · · Post #2668

I have set a notification for a hashrate range, but I've only ever received a notification immediately after setting it up, for a nonsensical amount. Specifically, I've received two notifications so far. One when my hashrate was reported at 536,862,600.000 MH/s, and the other reported a hashrate of 595,320,972.000 MH/s. I'm no expert, but it looks kinda like a floating point issue to me. Also, I would like to be notified when the miner svc is bounced, so I know to go restart my Titans right away. Thanks and keep up the good work!
Steve Sokolowski avatar
Steve Sokolowski
Archived posts: 4559
Joined: Aug 27, 2014

Re: Email Notification

by Steve Sokolowski · · Post #2683

kires wrote:I have set a notification for a hashrate range, but I've only ever received a notification immediately after setting it up, for a nonsensical amount. Specifically, I've received two notifications so far. One when my hashrate was reported at 536,862,600.000 MH/s, and the other reported a hashrate of 595,320,972.000 MH/s. I'm no expert, but it looks kinda like a floating point issue to me. Also, I would like to be notified when the miner svc is bounced, so I know to go restart my Titans right away. Thanks and keep up the good work!
kires, have you ever received a notification when the hashrate was out of range but had a sensible value?
Steve Sokolowski avatar
Steve Sokolowski
Archived posts: 4559
Joined: Aug 27, 2014

Re: Email Notification

by Steve Sokolowski · · Post #2684

Thanks for the report. I resolved this issue.

The cause of the problem was that the hashrates in the database are stored in H/s, but the values in the notifications are stored in MH/s. Therefore, the reported hashrates were off by 1000.

I checked in these changes. Since they are not a profit-affecting bug, they will be tested by Chris during the week along with the other fixes this weekend, with a release scheduled for Wednesday or Friday.

Thanks again!