From: Grant Slater Date: Sun, 17 Nov 2019 15:56:33 +0000 (+0000) Subject: tilecache: compress logs with multiple threads X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/37d9e1e2f502de4126fb36357a9c261174512af4 tilecache: compress logs with multiple threads --- diff --git a/cookbooks/tilecache/templates/default/logrotate.squid.erb b/cookbooks/tilecache/templates/default/logrotate.squid.erb index 0c45dcab0..d5db76b2f 100644 --- a/cookbooks/tilecache/templates/default/logrotate.squid.erb +++ b/cookbooks/tilecache/templates/default/logrotate.squid.erb @@ -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