diff --git a/bt5/erp5_knowledge_pad/ExtensionTemplateItem/GetRssDataAsDict.py b/bt5/erp5_knowledge_pad/ExtensionTemplateItem/GetRssDataAsDict.py index 5c93cc49cbb924fc125aa199453da01a94998b6b..d43c9181aaeb75550a175ab35be263940ac11183 100644 --- a/bt5/erp5_knowledge_pad/ExtensionTemplateItem/GetRssDataAsDict.py +++ b/bt5/erp5_knowledge_pad/ExtensionTemplateItem/GetRssDataAsDict.py @@ -19,7 +19,7 @@ def getRssDataAsDict(self, url, username=None, password=None): # set shorter timeouts and revert default at enf of read default_timeout = socket.getdefaulttimeout() - socket.setdefaulttimeout(10.0) + socket.setdefaulttimeout(60.0) d = feedparser.parse(url, handlers=handlers) socket.setdefaulttimeout(default_timeout) @@ -57,4 +57,4 @@ def getRssDataAsDict(self, url, username=None, password=None): result['items'] = sorted(result['items'], key=lambda k: k['updated_parsed']) result['items'].reverse() result['status'] = 0 - return result \ No newline at end of file + return result diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision index 6dca33d41f092e39af58b262a1918435937931dd..1538c042e35d3445343008b33ffc792ac539cd30 100644 --- a/bt5/erp5_knowledge_pad/bt/revision +++ b/bt5/erp5_knowledge_pad/bt/revision @@ -1 +1 @@ -742 \ No newline at end of file +743 \ No newline at end of file