X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ba987e5a484374712c87728b662798e57f57ea6a..53a51b1f4d048aa2e860ce99aeb27331afe7bd56:/cookbooks/tilecache/templates/default/ohai.rb.erb diff --git a/cookbooks/tilecache/templates/default/ohai.rb.erb b/cookbooks/tilecache/templates/default/ohai.rb.erb index f557ddded..5647a4528 100644 --- a/cookbooks/tilecache/templates/default/ohai.rb.erb +++ b/cookbooks/tilecache/templates/default/ohai.rb.erb @@ -18,7 +18,7 @@ Ohai.plugin(:TileCache) do host = Regexp.last_match(3) if status == 200 then - times[host] = times.fetch(host, 0) + time - 1 + times[host] = times.fetch(host, 0) + (time + 1) * (time + 1) - 1 else times[host] = times.fetch(host, 0) + 10 end