]> git.openstreetmap.org Git - chef.git/commitdiff
Configure moderator limits for cgimap explicitly
authorTom Hughes <tom@compton.nu>
Mon, 30 Oct 2023 12:46:24 +0000 (12:46 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 30 Oct 2023 12:46:36 +0000 (12:46 +0000)
cookbooks/web/recipes/cgimap.rb

index 2ebdcb6e1a46f77b1bf9319c680dcb5da9e1a0bc..b57e455bafaa79fada9308ed0fc3179095301c85 100644 (file)
@@ -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],