From: Tom Hughes Date: Mon, 30 Oct 2023 12:46:24 +0000 (+0000) Subject: Configure moderator limits for cgimap explicitly X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/027a2be39056f1b54b930672f586141c1bd164cb?hp=a5da0ffea6e87b6154543e46dcca79a191672265 Configure moderator limits for cgimap explicitly --- diff --git a/cookbooks/web/recipes/cgimap.rb b/cookbooks/web/recipes/cgimap.rb index 2ebdcb6e1..b57e455ba 100644 --- a/cookbooks/web/recipes/cgimap.rb +++ b/cookbooks/web/recipes/cgimap.rb @@ -43,6 +43,8 @@ cgimap_options = { "CGIMAP_MEMCACHE" => memcached_servers.join(","), "CGIMAP_RATELIMIT" => "204800", "CGIMAP_MAXDEBT" => "250", + "CGIMAP_MODERATOR_RATELIMIT" => "1048576", + "CGIMAP_MODERATOR_MAXDEBT" => "1280", "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],