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:
parent
c060ea54ce
commit
bb0a200fc0
@ -451,9 +451,12 @@ function getrigs()
|
|||||||
$mdes = '';
|
$mdes = '';
|
||||||
|
|
||||||
if (strlen($mdes) > 0)
|
if (strlen($mdes) > 0)
|
||||||
$rigs[] = "$ip:$rp:$mdes";
|
$rig = "$ip:$rp:$mdes";
|
||||||
else
|
else
|
||||||
$rigs[] = "$ip:$rp";
|
$rig = "$ip:$rp";
|
||||||
|
|
||||||
|
if (!in_array($rig, $rigs))
|
||||||
|
$rigs[] = $rig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((microtime(true) - $stt) >= $mcasttimeout)
|
if ((microtime(true) - $stt) >= $mcasttimeout)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user