From d4df6a7c06677ea27339685007ea6b212b62461b Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Tue, 17 Jun 2008 18:43:49 +0000 Subject: [PATCH] 5 minutes is too long of a timeout to keep an apache proc open on PLC. 90 seconds is probably more than enough. --- plcapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0