From d7a3c93b3073fae63ca4f9e52c489724b8dea813 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 26 Sep 2023 01:27:02 +0100 Subject: [PATCH] planet: Remove download speed limit --- cookbooks/planet/files/default/cgi/HEADER.cgi | 1 - cookbooks/planet/templates/default/apache.erb | 7 ------- 2 files changed, 8 deletions(-) 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 - -- 2.43.2