From 33686a8806e29b3951b5a873702f344dcf5c4289 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Nov 2016 07:10:25 +0000 Subject: [PATCH 1/1] Update blocked scale --- cookbooks/tile/templates/default/export.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/tile/templates/default/export.erb b/cookbooks/tile/templates/default/export.erb index b91c3957f..5e4b97414 100644 --- a/cookbooks/tile/templates/default/export.erb +++ b/cookbooks/tile/templates/default/export.erb @@ -70,7 +70,7 @@ 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") -elif form.getvalue("scale") == "4600": +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| -%> -- 2.43.2