]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/logrotate.squid.erb
tilecache: switch port 80 traffic to nginx
[chef.git] / cookbooks / tilecache / templates / default / logrotate.squid.erb
index 0c45dcab0b13a5a8c2763ad1b0c0705c52b5ba3a..697f0c5c6057a3040a62fda7dce23fff24e24926 100644 (file)
@@ -4,6 +4,7 @@
   daily
   compress
   compresscmd /usr/bin/xz
+  compressoptions --threads=<%= [ node[:cpu][:total] / 2, 1 ].max.ceil %>
   uncompresscmd /usr/bin/unxz
   compressext .xz
   rotate 2