]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/cgimap.rb
Configure moderator limits for cgimap explicitly
[chef.git] / 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],