From 027a2be39056f1b54b930672f586141c1bd164cb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 30 Oct 2023 12:46:24 +0000 Subject: [PATCH 1/1] Configure moderator limits for cgimap explicitly --- cookbooks/web/recipes/cgimap.rb | 2 ++ 1 file changed, 2 insertions(+) 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], -- 2.39.5