]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/export.erb
Remove block on scale 3600
[chef.git] / cookbooks / tile / templates / default / export.erb
index 5e4b97414b9c843390047bc85e06eccf4d56074e..c05083835b43b28a65564001dd97957c39dfe071 100644 (file)
@@ -70,9 +70,6 @@ idletime = cputimes[3] / sum(cputimes)
 if idletime < 0.2:
   # Abort if the CPU idle time on the machine is too low
   output_error("The server is too busy at the moment. Please wait a few minutes before trying again.", "503 Service Unavailable")
 if idletime < 0.2:
   # Abort if the CPU idle time on the machine is too low
   output_error("The server is too busy at the moment. Please wait a few minutes before trying again.", "503 Service Unavailable")
-elif form.getvalue("scale") == "3600":
-  # Block scraper
-  output_error("The server is too busy at the moment. Please wait a few minutes before trying again.", "503 Service Unavailable")
 <% @blocks["user_agents"].each do |user_agent| -%>
 elif os.environ['HTTP_USER_AGENT'] == '<%= user_agent %>':
   # Block scraper
 <% @blocks["user_agents"].each do |user_agent| -%>
 elif os.environ['HTTP_USER_AGENT'] == '<%= user_agent %>':
   # Block scraper