Fixed miner hashrate chart data collection
parent
b5a3b0cba6
commit
d7ad4540ea
|
@ -122,7 +122,7 @@ function storeCollectedValue(chartName, value, settings) {
|
|||
else {
|
||||
preSaveFunctions[chartName]
|
||||
? preSaveFunctions[chartName](lastSet, value)
|
||||
: statValueHandler.round(lastSet, value);
|
||||
: statValueHandler.avgRound(lastSet, value);
|
||||
lastSet[2]++;
|
||||
}
|
||||
redisClient.set(getStatsRedisKey(chartName), JSON.stringify(sets));
|
||||
|
|
Loading…
Reference in New Issue