5 minutes is too long of a timeout to keep an apache proc open on PLC. 90 seconds...
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Tue, 17 Jun 2008 18:43:49 +0000 (18:43 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Tue, 17 Jun 2008 18:43:49 +0000 (18:43 +0000)
plcapi.py

index 4da9e48..4581fc6 100644 (file)
--- a/plcapi.py
+++ b/plcapi.py
@@ -15,7 +15,7 @@ class PLCAPI:
     the new session-based method.
     """
 
-    def __init__(self, uri, cacert, auth, timeout = 300, **kwds):
+    def __init__(self, uri, cacert, auth, timeout = 90, **kwds):
         if isinstance(auth, (tuple, list)):
             (self.node_id, self.key) = auth
             self.session = None