]> git.openstreetmap.org Git - chef.git/commitdiff
Configure API limits for dev instances
authorTom Hughes <tom@compton.nu>
Wed, 16 Feb 2022 22:30:26 +0000 (22:30 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 16 Feb 2022 22:30:26 +0000 (22:30 +0000)
cookbooks/dev/templates/default/cgimap.environment.erb

index b9f71ee7ae1484f7b7648832f6589be12e137a75..743599b527bba6edf8c7d4a379ef01a3e7ade6ad 100644 (file)
@@ -8,3 +8,7 @@ CGIMAP_LOGFILE="<%= @log_directory %>/cgimap.log"
 CGIMAP_MEMCACHE="127.0.0.1"
 CGIMAP_RATELIMIT="204800"
 CGIMAP_MAXDEBT="250"
 CGIMAP_MEMCACHE="127.0.0.1"
 CGIMAP_RATELIMIT="204800"
 CGIMAP_MAXDEBT="250"
+CGIMAP_MAP_AREA="<%= node[:web][:max_request_area] %>"
+CGIMAP_MAP_NODES"<%= node[:web][:max_number_of_nodes] %>"
+CGIMAP_MAX_WAY_NODES="<%= node[:web][:max_number_of_way_nodes] %>"
+CGIMAP_MAX_RELATION_MEMBERS="<%= node[:web][:max_number_of_relation_members] %>"