chiark / gitweb /
tweak timeouts a bit more
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 15 May 2009 18:32:17 +0000 (19:32 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Fri, 15 May 2009 18:32:17 +0000 (19:32 +0100)
yoweb-scrape

index 6e8e70a..dceeafd 100755 (executable)
@@ -72,7 +72,7 @@ class Fetcher:
                min_age = 1
                need_wait = 0
                for age in ages:
-                       if age < min_age:
+                       if age < min_age and age < 300:
                                debug('Fetcher   morewait min=%d age=%d' %
                                        (min_age, age))
                                need_wait = max(need_wait, min_age - age)