use default cashing times
This commit is contained in:
parent
8fccc8fe3a
commit
aebb97a1d8
@ -315,7 +315,7 @@ class Statistics {
|
|||||||
while ($row = $result->fetch_assoc()) {
|
while ($row = $result->fetch_assoc()) {
|
||||||
$aData[$row['hour']] = $row['hashrate'];
|
$aData[$row['hour']] = $row['hashrate'];
|
||||||
}
|
}
|
||||||
return $this->memcache->setCache(__FUNCTION__ . $account_id, $aData, 3600);
|
return $this->memcache->setCache(__FUNCTION__ . $account_id, $aData);
|
||||||
}
|
}
|
||||||
// Catchall
|
// Catchall
|
||||||
$this->debug->append("Failed to fetch hourly hashrate: " . $this->mysqli->error);
|
$this->debug->append("Failed to fetch hourly hashrate: " . $this->mysqli->error);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user