From b6c957aa1d3cc79fdc4f1d64d0a784aba104fd81 Mon Sep 17 00:00:00 2001
From: Grant Slater
Date: Mon, 31 Aug 2020 18:07:22 +0100
Subject: [PATCH] planet: increase download speed
---
cookbooks/planet/files/default/cgi/HEADER.cgi | 2 +-
cookbooks/planet/templates/default/apache.erb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cookbooks/planet/files/default/cgi/HEADER.cgi b/cookbooks/planet/files/default/cgi/HEADER.cgi
index 0ce17f64a..30bf73307 100644
--- a/cookbooks/planet/files/default/cgi/HEADER.cgi
+++ b/cookbooks/planet/files/default/cgi/HEADER.cgi
@@ -69,7 +69,7 @@ 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.
-
+
diff --git a/cookbooks/planet/templates/default/apache.erb b/cookbooks/planet/templates/default/apache.erb
index 6ad68703a..4c90a2bbf 100644
--- a/cookbooks/planet/templates/default/apache.erb
+++ b/cookbooks/planet/templates/default/apache.erb
@@ -67,8 +67,8 @@
# Temporary download rate limit due to upstream fibre connection issues. - 13 Jan 2020
SetOutputFilter RATE_LIMIT
- SetEnv rate-limit 2048
- SetEnv rate-initial-burst 4096
+ SetEnv rate-limit 4096
+ SetEnv rate-initial-burst 8192
--
2.39.5
|