This is a lousy hack, but it may help prevent some of the out-of-sync errors
authorStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 2 Jun 2008 21:26:34 +0000 (21:26 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 2 Jun 2008 21:26:34 +0000 (21:26 +0000)
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.

php/header.php

index 5172894..7fbe4da 100644 (file)
@@ -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);