chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ffde0f
)
yoweb-scrape: remove erroneous exponential
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2011 13:33:16 +0000
(13:33 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2011 13:33:16 +0000
(13:33 +0000)
yoweb-scrape
patch
|
blob
|
history
diff --git
a/yoweb-scrape
b/yoweb-scrape
index b4a5d6375f00662866a1a48ad5f71e719ac1e666..cee5c1781aafbb9505f25647a8d10ed1f6fc10de 100755
(executable)
--- a/
yoweb-scrape
+++ b/
yoweb-scrape
@@
-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