chiark / gitweb /
yoweb-scrape: remove erroneous exponential
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2011 13:33:16 +0000 (13:33 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2011 13:33:16 +0000 (13:33 +0000)
yoweb-scrape

index b4a5d63..cee5c17 100755 (executable)
@@ -165,7 +165,6 @@ class Fetcher:
                                        (min_age, age))
                                need_wait = max(need_wait, min_age - age)
                        min_age += 3
-                       min_age *= 1.25
                if need_wait > 0:
                        need_wait += random.random() - 0.5
                return need_wait