]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: disable squid siblings
authorGrant Slater <git@firefishy.com>
Sat, 4 Apr 2020 23:03:37 +0000 (00:03 +0100)
committerGrant Slater <git@firefishy.com>
Sat, 4 Apr 2020 23:03:37 +0000 (00:03 +0100)
cookbooks/tilecache/templates/default/squid.conf.erb

index 3c29f39b35d0ed70dbd09b42db6c0b2f8b65938c..b5187f3e43180c73101bafa1870ecce9590421d2 100644 (file)
@@ -36,9 +36,10 @@ acl tile_caches src <%= address %>
 <% end -%>
 
 # Siblings
-<% node[:tilecache][:tile_siblings].each do |sibling| -%>
-cache_peer <%= sibling %> sibling 3128 4827 htcp weight=1500
-<% end -%>
+# 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 -%>