Commit 9fa258d9 authored by Ivan Tyagov's avatar Ivan Tyagov

10s is can not be enough for some remote systems to generate RSS so be more tolerant.

parent 8a5ba4d9
No related merge requests found
......@@ -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)
......
742
\ No newline at end of file
743
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment