Skip to content

Commit

Permalink
tilecache: disable squid siblings
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Apr 4, 2020
1 parent 9758ec5 commit 38ed352
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cookbooks/tilecache/templates/default/squid.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>
Expand Down

0 comments on commit 38ed352

Please sign in to comment.