]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/site.rb
Bump cookstyle from 7.21.0 to 7.22.3
[chef.git] / cookbooks / imagery / resources / site.rb
index 10c6fb449ca4a80f47e8b5f772539c78f1be2c3b..e64231a72d86655345526f6a4eacd244d874f91c 100644 (file)
@@ -19,6 +19,8 @@
 
 require "yaml"
 
+unified_mode true
+
 default_action :create
 
 property :site, String, :name_property => true
@@ -107,8 +109,8 @@ action :create do
                   "GDAL_CACHEMAX" => "512"
       limit_nofile 16384
       limit_cpu 180
-      memory_high "1G"
-      memory_max "2G"
+      memory_high "512M"
+      memory_max "1G"
       user "imagery"
       group "imagery"
       exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.site}-#{index}.socket"