From f4423e7871be111e71d6b2874f72238bcd63848a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 16 Feb 2022 22:30:26 +0000 Subject: [PATCH] Configure API limits for dev instances --- cookbooks/dev/templates/default/cgimap.environment.erb | 4 ++++ 1 file changed, 4 insertions(+) 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] %>" -- 2.39.5