diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-17 21:19:10 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-17 21:19:10 -0400 |
commit | 88472049c1e8ccd64f355eed2ce624954539944d (patch) | |
tree | ba733758d683be7552c59a802a2fe6563ec1e289 /db-pick-mirror | |
parent | db388e32cb1f6707c37a19df6b68b3d7e67d9ab5 (diff) |
db-pick-mirror: remove obsolete comment
Diffstat (limited to 'db-pick-mirror')
-rwxr-xr-x | db-pick-mirror | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db-pick-mirror b/db-pick-mirror index 7cbc032..9474ed7 100755 --- a/db-pick-mirror +++ b/db-pick-mirror @@ -18,7 +18,7 @@ rsync_urls = urls.select{|a| a["protocol"]==protocol} # By score ( (delay+speed)/completion ) #best = rsync_urls.sort{|a,b| (a["score"] || Float::INFINITY) <=> (b["score"] || Float::INFINITY) }.first -# By delay/completion ; hopefully this gives us a tier 1 mirror +# By delay/completion best = rsync_urls.sort{|a,b| a["delay"]/a["completion_pct"] <=> b["delay"]/b["completion_pct"] }.first puts best["url"] |