mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-09 20:21:01 +00:00
miner.php change socktimeoutsec = 10 (it only waits once)
This commit is contained in:
parent
e9d5244d44
commit
e553fe0765
@ -26,13 +26,11 @@ $notify = true;
|
|||||||
$rigs = array('127.0.0.1:4028');
|
$rigs = array('127.0.0.1:4028');
|
||||||
#
|
#
|
||||||
# This should be OK for most cases
|
# This should be OK for most cases
|
||||||
# If you really do have a slow netowrk connection from php to cgminer
|
|
||||||
# then 2 may not be enough
|
|
||||||
# However, the longer it is the longer you have to wait while php
|
# However, the longer it is the longer you have to wait while php
|
||||||
# hangs if the target cgminer isn't runnning or listening
|
# hangs if the target cgminer isn't runnning or listening
|
||||||
# Feel free to increase it if your network is very slow
|
# Feel free to increase it if your network is very slow
|
||||||
# Also, on some windows PHP, apparently the $usec is ignored
|
# Also, on some windows PHP, apparently the $usec is ignored
|
||||||
$socktimeoutsec = 2;
|
$socktimeoutsec = 10;
|
||||||
#
|
#
|
||||||
$here = $_SERVER['PHP_SELF'];
|
$here = $_SERVER['PHP_SELF'];
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user