]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/templates/default/apache.erb
planet: Rate limit downloads to help fibre fault
[chef.git] / cookbooks / planet / templates / default / apache.erb
index a67189a0dbb9df8065442de41823c9d2a7a4604f..8b46d6b0412d7d7807dd2de2ddec20462469ee8f 100644 (file)
         RewriteRule ^(/cc\-by\-sa/changesets\-latest\.osm\.bz2)$        ${latestplanet:$1} [R,L]
         RewriteRule ^(/cc\-by\-sa/relations\-latest\.osm\.bz2)$         ${latestplanet:$1} [R,L]
 
+        # Temporary download rate limit due to upstream fibre connection issues. - 13 Jan 2020
+        SetOutputFilter RATE_LIMIT
+        SetEnv rate-limit 400
+        SetEnv rate-initial-burst 512
+
 </VirtualHost>
 
 <VirtualHost *:80>