X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ba987e5a484374712c87728b662798e57f57ea6a..7f5c025954a0868b7ac2aea8722089e75c39668e:/cookbooks/tilecache/templates/default/ohai.rb.erb?ds=sidebyside 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