From 6ef88ef1f6b6e0dfc98a9dc8041458cbbba07956 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 26 Jun 2026 09:24:58 +0100 Subject: [PATCH] imagery: bump ZA and tune mapserv --- cookbooks/imagery/recipes/za_ngi_aerial.rb | 2 +- cookbooks/imagery/resources/site.rb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cookbooks/imagery/recipes/za_ngi_aerial.rb b/cookbooks/imagery/recipes/za_ngi_aerial.rb index e8b0781c9..21fddc424 100644 --- a/cookbooks/imagery/recipes/za_ngi_aerial.rb +++ b/cookbooks/imagery/recipes/za_ngi_aerial.rb @@ -36,5 +36,5 @@ imagery_layer "ngi-aerial" do extension "png" default_layer true url_aliases ["/ngi-aerial"] - revision 4 + revision 5 end diff --git a/cookbooks/imagery/resources/site.rb b/cookbooks/imagery/resources/site.rb index 93b5814e0..dc7fbf095 100644 --- a/cookbooks/imagery/resources/site.rb +++ b/cookbooks/imagery/resources/site.rb @@ -110,9 +110,10 @@ action :create do systemd_service "mapserv-fcgi-#{new_resource.site}" do description "Map server for #{new_resource.site} layer" - environment "MS_DEBUGLEVEL" => "0", + environment "GDAL_NUM_THREADS" => "2", + "GDAL_CACHEMAX" => "2048", + "MS_DEBUGLEVEL" => "0", "MS_ERRORFILE" => "stderr", - "GDAL_CACHEMAX" => "200", "CPL_VSIL_CURL_CACHE_SIZE" => "200000000", "GDAL_BAND_BLOCK_CACHE" => "HASHSET", "GDAL_DISABLE_READDIR_ON_OPEN" => "EMPTY_DIR", -- 2.47.3