1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 12:34:27 +00:00

miner.php mcast ignore duplicate replies

This commit is contained in:
Kano 2013-09-03 22:10:52 +10:00
parent c060ea54ce
commit bb0a200fc0

View File

@ -451,9 +451,12 @@ function getrigs()
$mdes = '';
if (strlen($mdes) > 0)
$rigs[] = "$ip:$rp:$mdes";
$rig = "$ip:$rp:$mdes";
else
$rigs[] = "$ip:$rp";
$rig = "$ip:$rp";
if (!in_array($rig, $rigs))
$rigs[] = $rig;
}
}
if ((microtime(true) - $stt) >= $mcasttimeout)