From: Stephen Soltesz Date: Mon, 2 Jun 2008 21:26:34 +0000 (+0000) Subject: This is a lousy hack, but it may help prevent some of the out-of-sync errors X-Git-Tag: PLCAPI-4.3-1~35 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0f1a34a5cea5c57876d95ccc855185413365ea25;p=plcapi.git This is a lousy hack, but it may help prevent some of the out-of-sync errors reported by users that try to (for instance) add a node, but get no indication of failure b/c the operation has timed out, but later the node will be added, but without a node network. --- diff --git a/php/header.php b/php/header.php index 51728943..7fbe4dab 100644 --- a/php/header.php +++ b/php/header.php @@ -117,7 +117,7 @@ class PLCAPI curl_setopt($curl, CURLOPT_HTTPHEADER, $header); // Set some miscellaneous options - curl_setopt($curl, CURLOPT_TIMEOUT, 30); + curl_setopt($curl, CURLOPT_TIMEOUT, 180); // Get the output of the request curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);