]> git.openstreetmap.org Git - chef.git/blob - cookbooks/passenger/attributes/default.rb
Move promscale tuning to role and tune WAL sizes
[chef.git] / cookbooks / passenger / attributes / default.rb
1 default[:passenger][:ruby_version] = if node[:lsb][:release].to_f < 20.04
2                                        "2.5"
3                                      else
4                                        "2.7"
5                                      end
6
7 default[:passenger][:max_pool_size] = 6
8 default[:passenger][:pool_idle_time] = 300
9 default[:passenger][:instance_registry_dir] = "/run/passenger"
10
11 default[:apt][:sources] = node[:apt][:sources] | ["passenger"]