From: Faiyaz Ahmed Date: Tue, 17 Jun 2008 18:43:49 +0000 (+0000) Subject: 5 minutes is too long of a timeout to keep an apache proc open on PLC. 90 seconds... X-Git-Tag: NodeManager-1.8-0~34 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=d4df6a7c06677ea27339685007ea6b212b62461b 5 minutes is too long of a timeout to keep an apache proc open on PLC. 90 seconds is probably more than enough. --- diff --git a/plcapi.py b/plcapi.py index 4da9e48..4581fc6 100644 --- 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