X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b38684e59eef299e82f5858fe1e14f6cf2aaa10a..cd48e2d1f7f0bfd7b1440f3200701310f8809bda:/app/controllers/api_controller.rb diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 285558bcf..318719219 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -263,6 +263,9 @@ class ApiController < ApplicationController changesets = XML::Node.new 'changesets' changesets['maximum_elements'] = Changeset::MAX_ELEMENTS.to_s api << changesets + timeout = XML::Node.new 'timeout' + timeout['seconds'] = APP_CONFIG['api_timeout'].to_s + api << timeout doc.root << api