change hashrate data to 1m as it seems more consistent, and add get_data to web monitor
This commit is contained in:
@@ -279,7 +279,7 @@ class BOSMiner(BaseMiner):
|
||||
hr = summary.get("SUMMARY")
|
||||
if hr:
|
||||
if len(hr) > 0:
|
||||
hr = hr[0].get("MHS av")
|
||||
hr = hr[0].get("MHS 1m")
|
||||
if hr:
|
||||
data.hashrate = round(hr / 1000000, 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user