X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c33816ceeb4207ddef0e7986b3c362ade95afe7f..ce136e365e7258d85a27d44eb2817f881d78d25f:/cookbooks/squid/templates/default/squid.conf.erb?ds=sidebyside diff --git a/cookbooks/squid/templates/default/squid.conf.erb b/cookbooks/squid/templates/default/squid.conf.erb index ad1732bb7..61008078a 100644 --- a/cookbooks/squid/templates/default/squid.conf.erb +++ b/cookbooks/squid/templates/default/squid.conf.erb @@ -10,7 +10,7 @@ workers <%= [ node[:cpu][:total] - 2, 1 ].max.ceil %> cpu_affinity_map process_numbers=<%= (1..[ node[:cpu][:total] - 2, 1 ].max.ceil).to_a.join(',') %> cores=<%=(1..[ node[:cpu][:total] - 2, 1 ].max.ceil).to_a.join(',') %> # Set short clean shutdown interval -shutdown_lifetime 10 seconds +shutdown_lifetime 2 seconds error_log_languages off <% end -%> @@ -136,6 +136,8 @@ access_log daemon:<%= node[:squid][:access_log] %> cache_log /var/log/squid/cache.log cache_store_log none +buffered_logs on + client_db off strip_query_terms off <% if node[:squid][:version] > 2 -%>