From 38ed35226cf665d8dfa1bf8c7fe7d20e9fd29d49 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 5 Apr 2020 00:03:37 +0100 Subject: [PATCH] tilecache: disable squid siblings --- cookbooks/tilecache/templates/default/squid.conf.erb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 3c29f39b3..b5187f3e4 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -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 -%> -- 2.43.2