]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_node_controller.rb
Add a global timeout that is applied to most API requests.
[rails.git] / app / controllers / old_node_controller.rb
index e57623daed86fead2832a2dfdae63849d69d47c9..5de39fdb60a1f5ddb45a125b36c4b83e1749518c 100644 (file)
@@ -4,7 +4,7 @@ class OldNodeController < ApplicationController
   session :off
   before_filter :check_api_readable
   after_filter :compress_output
-  around_filter :api_call_handle_error
+  around_filter :api_call_handle_error, :api_call_timeout
 
   def history
     node = Node.find(params[:id])