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