Increase update time.
authorAdam Sampson <ats@offog.org>
Wed, 7 May 2003 01:06:53 +0000 (01:06 +0000)
committerAdam Sampson <ats@offog.org>
Wed, 7 May 2003 01:06:53 +0000 (01:06 +0000)
Add comment about changes.

rawdoglib/rssparser.py

index e10fb80a8591cf13fc6a60d3f8411ba86357538d..356346083a37a7bfc3de2a1e8249b52c16218e48 100644 (file)
@@ -23,6 +23,12 @@ Things it handles that choke other RSS parsers:
 - non-standard namespaces (BitWorking)\r
 \r
 Requires Python 2.2 or later\r
+\r
+Modifications made by Adam Sampson for use in rawdog:\r
+- timeout increased to 30 seconds from 10 (since pulling Advogato's recentlog\r
+  takes about 20s, even on my ADSL!)\r
+- when invoked as a script, print the full parser output; this is useful for\r
+  debugging\r
 """\r
 \r
 __author__ = "Mark Pilgrim (f8dy@diveintomark.org)"\r
@@ -56,7 +62,7 @@ __history__ = """
 \r
 try:\r
     import timeoutsocket # http://www.timo-tasi.org/python/timeoutsocket.py\r
-    timeoutsocket.setDefaultSocketTimeout(10)\r
+    timeoutsocket.setDefaultSocketTimeout(30)\r
 except ImportError:\r
     pass\r
 import cgi, re, sgmllib, string, StringIO, urllib, gzip\r