use default cashing times

This commit is contained in:
Sebastian Grewe 2013-06-06 12:01:06 +02:00
parent 8fccc8fe3a
commit aebb97a1d8

View File

@ -315,7 +315,7 @@ class Statistics {
while ($row = $result->fetch_assoc()) {
$aData[$row['hour']] = $row['hashrate'];
}
return $this->memcache->setCache(__FUNCTION__ . $account_id, $aData, 3600);
return $this->memcache->setCache(__FUNCTION__ . $account_id, $aData);
}
// Catchall
$this->debug->append("Failed to fetch hourly hashrate: " . $this->mysqli->error);