timeout 10seconds

This commit is contained in:
Diego Najar 2017-10-25 19:50:57 +02:00
parent bbccb1b102
commit 5fb337d761
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
class TCP {
public static function http($url, $method='GET', $verifySSL=true, $timeOut=1, $followRedirections=true, $binary=true, $headers=false)
public static function http($url, $method='GET', $verifySSL=true, $timeOut=10, $followRedirections=true, $binary=true, $headers=false)
{
if( function_exists('curl_version') ) {
$ch = curl_init();