From: Tom Hughes Date: Wed, 16 Feb 2022 22:30:26 +0000 (+0000) Subject: Configure API limits for dev instances X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/f4423e7871be111e71d6b2874f72238bcd63848a?ds=sidebyside Configure API limits for dev instances --- diff --git a/cookbooks/dev/templates/default/cgimap.environment.erb b/cookbooks/dev/templates/default/cgimap.environment.erb index b9f71ee7a..743599b52 100644 --- a/cookbooks/dev/templates/default/cgimap.environment.erb +++ b/cookbooks/dev/templates/default/cgimap.environment.erb @@ -8,3 +8,7 @@ CGIMAP_LOGFILE="<%= @log_directory %>/cgimap.log" 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] %>"