php - always use 5min hash rate for pool top left
This commit is contained in:
parent
cfd5e4bd5c
commit
68dfd2ddbc
@ -164,10 +164,10 @@ function pgtop($dotop, $user, $douser)
|
||||
if (isset($info['p_hashrate5m']))
|
||||
$phr = $info['p_hashrate5m'];
|
||||
|
||||
if (isset($info['p_elapsed'])
|
||||
and isset($info['p_hashrate1hr'])
|
||||
and $info['p_elapsed'] > 3600)
|
||||
$phr = $info['p_hashrate1hr'];
|
||||
// if (isset($info['p_elapsed'])
|
||||
// and isset($info['p_hashrate1hr'])
|
||||
// and $info['p_elapsed'] > 3600)
|
||||
// $phr = $info['p_hashrate1hr'];
|
||||
|
||||
if ($phr == '?')
|
||||
$phr = '?THs';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user