From: Tom Hughes Date: Sun, 5 Apr 2020 17:24:52 +0000 (+0100) Subject: Remove remains of squid sibling support on tile caches X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/719f54e21bbd1b6d9840f40d4b51bc77ea9661d9 Remove remains of squid sibling support on tile caches --- diff --git a/cookbooks/tilecache/attributes/default.rb b/cookbooks/tilecache/attributes/default.rb index 56f490e86..a830e0b38 100644 --- a/cookbooks/tilecache/attributes/default.rb +++ b/cookbooks/tilecache/attributes/default.rb @@ -1,5 +1,4 @@ default[:tilecache][:tile_parent] = "render.openstreetmap.org" -default[:tilecache][:tile_siblings] = [] # Per IP bucket refill rate default[:tilecache][:ip_bucket_refill] = 4096 diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index b5187f3e4..55415a4ac 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -35,12 +35,6 @@ acl tile_caches src <%= address %> <% end -%> <% end -%> -# Siblings -# Hit rate for sibling is extremely low. Not worth it. -# <% node[:tilecache][:tile_siblings].each do |sibling| -%> -# cache_peer <%= sibling %> sibling 3128 4827 htcp weight=1500 -# <% end -%> - # Primary Parent <% if node[:squid][:version] < 4 -%> cache_peer <%= node[:tilecache][:tile_parent] %> parent 443 0 no-query originserver name=osmtileAccel login=PASS connect-timeout=120 no-digest weight=1000 ssl ssldomain=render.openstreetmap.org diff --git a/roles/glaedr.rb b/roles/glaedr.rb index d4562c512..19025b698 100644 --- a/roles/glaedr.rb +++ b/roles/glaedr.rb @@ -43,10 +43,7 @@ default_attributes( } }, :tilecache => { - :tile_parent => "bogota.render.openstreetmap.org", - :tile_siblings => [ - "gorwen.openstreetmap.org" - ] + :tile_parent => "bogota.render.openstreetmap.org" } ) diff --git a/roles/gorwen.rb b/roles/gorwen.rb index 640c0599b..773e389ce 100644 --- a/roles/gorwen.rb +++ b/roles/gorwen.rb @@ -43,10 +43,7 @@ default_attributes( } }, :tilecache => { - :tile_parent => "bogota.render.openstreetmap.org", - :tile_siblings => [ - "glaedr.openstreetmap.org" - ] + :tile_parent => "bogota.render.openstreetmap.org" } ) diff --git a/roles/stormfly-01.rb b/roles/stormfly-01.rb index 8d1830e2e..eda9debcc 100644 --- a/roles/stormfly-01.rb +++ b/roles/stormfly-01.rb @@ -39,10 +39,7 @@ default_attributes( } }, :tilecache => { - :tile_parent => "corvallis.render.openstreetmap.org", - :tile_siblings => [ - "stormfly-02.openstreetmap.org" - ] + :tile_parent => "corvallis.render.openstreetmap.org" } ) diff --git a/roles/stormfly-02.rb b/roles/stormfly-02.rb index c09c268fb..25cce34ae 100644 --- a/roles/stormfly-02.rb +++ b/roles/stormfly-02.rb @@ -39,10 +39,7 @@ default_attributes( } }, :tilecache => { - :tile_parent => "corvallis.render.openstreetmap.org", - :tile_siblings => [ - "stormfly-01.openstreetmap.org" - ] + :tile_parent => "corvallis.render.openstreetmap.org" } )