X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4a078e5c10b53174079d702dfeafbc0291c21e7d..a0e8c35c1b3bfba11a755d9f8e282fc0773d953f:/app/controllers/api_controller.rb diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index f61c67d6e..4a29b4a40 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -243,6 +243,7 @@ class ApiController < ApplicationController #exit when we have too many requests if @@count > MAX_COUNT @@count = COUNT + exit! end