Skip to content

Commit

Permalink
Enable upload rate limiting for cgimap
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Nov 15, 2023
1 parent 9224925 commit 3730627
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cookbooks/web/recipes/cgimap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"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]
"CGIMAP_MAX_RELATION_MEMBERS" => node[:web][:max_number_of_relation_members],
"CGIMAP_RATELIMIT_UPLOAD" => "true"
}

if %w[database_readonly api_readonly].include?(node[:web][:status])
Expand Down

0 comments on commit 3730627

Please sign in to comment.