X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/04743763991d4bd0b536ceaec43439d6b3b4842c..b85c44bf6bfb745c10929ed107a2eb9f0688a145:/cookbooks/vectortile/attributes/default.rb diff --git a/cookbooks/vectortile/attributes/default.rb b/cookbooks/vectortile/attributes/default.rb index 0df4249e7..912b7ee25 100644 --- a/cookbooks/vectortile/attributes/default.rb +++ b/cookbooks/vectortile/attributes/default.rb @@ -8,8 +8,11 @@ default[:vectortile][:replication][:status] = :enabled default[:vectortile][:replication][:tileupdate] = :enabled default[:vectortile][:replication][:threads] = node.cpu_cores +default[:vectortile][:tilekiln][:version] = "0.6.5" + default[:postgresql][:versions] |= [node[:vectortile][:database][:cluster].split("/").first] default[:postgresql][:monitor_database] = "tiles" -default[:postgresql][:settings][:defaults][:max_connections] = (node.cpu_cores * 4 + 20).to_s +# As an absolute worst case, the server might have the serving, update, and a manual generation process going on. +default[:postgresql][:settings][:defaults][:max_connections] = (node.cpu_cores * 6 + 20).to_s default[:accounts][:users][:tileupdate][:status] = :role default[:accounts][:users][:tilekiln][:status] = :role