From: Grant Slater
Date: Tue, 26 Sep 2023 00:27:02 +0000 (+0100)
Subject: planet: Remove download speed limit
X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d7a3c93b3073fae63ca4f9e52c489724b8dea813
planet: Remove download speed limit
---
diff --git a/cookbooks/planet/files/default/cgi/HEADER.cgi b/cookbooks/planet/files/default/cgi/HEADER.cgi
index 2404f00ce..6b2760293 100644
--- a/cookbooks/planet/files/default/cgi/HEADER.cgi
+++ b/cookbooks/planet/files/default/cgi/HEADER.cgi
@@ -70,7 +70,6 @@ print("""
The files found here are regularly-updated, complete copies of the OpenStreetMap.org
database, and those published before the 12 September 2012 are distributed under a Creative Commons Attribution-ShareAlike 2.0 license, those published after are Open Data Commons Open Database License 1.0 licensed. For more information, see the project wiki.
-WARNING Download speeds are currently restricted to 16 MB/s due to limited available capacity on our Internet connection.
Please use torrents or
a mirror if possible.
diff --git a/cookbooks/planet/templates/default/apache.erb b/cookbooks/planet/templates/default/apache.erb
index 6d76783af..5692d0ec4 100644
--- a/cookbooks/planet/templates/default/apache.erb
+++ b/cookbooks/planet/templates/default/apache.erb
@@ -82,13 +82,6 @@
RewriteRule ^/planet/<%= year %>/full\-history/(history\-<%= year_two %>[0-1][0-9][0-3][0-9]\.osm\.bz2(\.torrent|\.md5)?)$ https://osm-planet-${ip2region:%{REMOTE_ADDR}|eu-central-1}.s3.amazonaws.com/planet-full-history/osm/<%= year %>/$1 [R,L]
<% end %>
<% end %>
-
- # Temporary download rate limit due to upstream fibre connection issues. - 13 Jan 2020
-
- SetOutputFilter RATE_LIMIT
- SetEnv rate-limit 16384
- SetEnv rate-initial-burst 32768
-
|