Author: chabotc
Date: Thu Aug 28 04:43:10 2008
New Revision: 689790

URL: http://svn.apache.org/viewvc?rev=689790&view=rev
Log:
Tighten time-outs of remote content a bit, 20 seconds was way to long for end 
users to be able to tell something went wrong

Modified:
    
incubator/shindig/trunk/php/src/common/samplecontainer/BasicRemoteContentFetcher.php

Modified: 
incubator/shindig/trunk/php/src/common/samplecontainer/BasicRemoteContentFetcher.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/common/samplecontainer/BasicRemoteContentFetcher.php?rev=689790&r1=689789&r2=689790&view=diff
==============================================================================
--- 
incubator/shindig/trunk/php/src/common/samplecontainer/BasicRemoteContentFetcher.php
 (original)
+++ 
incubator/shindig/trunk/php/src/common/samplecontainer/BasicRemoteContentFetcher.php
 Thu Aug 28 04:43:10 2008
@@ -33,8 +33,8 @@
                curl_setopt($request->handle, CURLOPT_RETURNTRANSFER, 1);
                curl_setopt($request->handle, CURLOPT_AUTOREFERER, 1);
                curl_setopt($request->handle, CURLOPT_MAXREDIRS, 10);
-               curl_setopt($request->handle, CURLOPT_CONNECTTIMEOUT, 10);
-               curl_setopt($request->handle, CURLOPT_TIMEOUT, 20);
+               curl_setopt($request->handle, CURLOPT_CONNECTTIMEOUT, 2);
+               curl_setopt($request->handle, CURLOPT_TIMEOUT, 2);
                curl_setopt($request->handle, CURLOPT_HEADER, 1);
                curl_setopt($request->handle, CURLOPT_SSL_VERIFYPEER, 0);
                $proxy = Config::get('proxy');


Reply via email to