diff options
Diffstat (limited to 'src/fextdata.php')
| -rw-r--r-- | src/fextdata.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fextdata.php b/src/fextdata.php index 7e95977..1046f29 100644 --- a/src/fextdata.php +++ b/src/fextdata.php @@ -26,7 +26,7 @@ function makeurlhttps($siteurl) { return $siteurl; } -function scoretransfer($putname, $localsite, $timeo=30) { +function scoretransfer($putname, $localsite, $timeo=20) { $ds = DIRECTORY_SEPARATOR; if($ds=="") $ds = "/"; $logstr=''; @@ -246,7 +246,7 @@ function scoretransfer($putname, $localsite, $timeo=30) { } -function getMainXML($contest,$timeo=30,$upd=false) { +function getMainXML($contest,$timeo=20,$upd=false) { $ds = DIRECTORY_SEPARATOR; if($ds=="") $ds = "/"; $logstr = ''; @@ -377,7 +377,7 @@ function getMainXML($contest,$timeo=30,$upd=false) { $opts['ssl'] = array('verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true); $opts['https'] = array('verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true); $context = stream_context_create($opts); - $logstr .= "Transfering data to main server\n"; + $logstr .= "Transferring data to main server\n"; try { $s = @file_get_contents($siteurl . "site/getsite.php", 0, $context); } catch(Exception $e) { @@ -385,7 +385,7 @@ function getMainXML($contest,$timeo=30,$upd=false) { } // $logstr .= "ABB: " . now() . "\n" if($s===false) { - $logstr .= "timeout at transfering\n"; + $logstr .= "timeout at transferring\n"; LOGError("getMainXML: timeout at transfer for $siteurl"); return $logstr; } |