X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/cd5f81c16c88e1ba51f7db9c6c8b49dc04c708aa..635c50159ffb630a3494c71576e6f38d37f95f19:/cookbooks/tile/templates/default/export.erb diff --git a/cookbooks/tile/templates/default/export.erb b/cookbooks/tile/templates/default/export.erb index d178df4ce..b3acb9223 100644 --- a/cookbooks/tile/templates/default/export.erb +++ b/cookbooks/tile/templates/default/export.erb @@ -60,7 +60,7 @@ if not os.environ.has_key('HTTP_USER_AGENT'): loadavg = float(open("/proc/loadavg").readline().split(" ")[0]) # Process the request -if loadavg > 35.0: +if loadavg > 70.0: # Abort if the load average on the machine is too high print "Status: 503 Service Unavailable" output_error("The load average on the server is too high at the moment. Please wait a few minutes before trying again.")