From e553fe0765d3d191562ceeb77ca3d16e664e5016 Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 27 Apr 2012 07:48:38 +1000 Subject: [PATCH] miner.php change socktimeoutsec = 10 (it only waits once) --- miner.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/miner.php b/miner.php index e3a816d5..2441cad8 100644 --- a/miner.php +++ b/miner.php @@ -26,13 +26,11 @@ $notify = true; $rigs = array('127.0.0.1:4028'); # # 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 # hangs if the target cgminer isn't runnning or listening # Feel free to increase it if your network is very slow # Also, on some windows PHP, apparently the $usec is ignored -$socktimeoutsec = 2; +$socktimeoutsec = 10; # $here = $_SERVER['PHP_SELF']; #