Page 1 of 1

Email Notification

Posted: Wed Jan 06, 2016 8:39 am
by kires
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!

Re: Email Notification

Posted: Fri Jan 08, 2016 8:23 am
by Steve Sokolowski
I'll add this to the list of things I need to check this weekend. Thanks for the report, kires!

Re: Email Notification

Posted: Sat Jan 09, 2016 8:53 am
by Steve Sokolowski
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?

Re: Email Notification

Posted: Sat Jan 09, 2016 9:04 am
by Steve Sokolowski
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!

Re: Email Notification

Posted: Sat Jan 09, 2016 8:52 pm
by kires
Thanks a lot, Steve. You rock!