[openstreetmap/openstreetmap-website] Fix timeout messages for former browse pages (PR #4617)

Anton Khorev notifications at github.com
Thu Apr 4 13:57:16 UTC 2024


@AntonKhorev commented on this pull request.



> @@ -206,13 +206,13 @@ def web_timeout(&block)
     if e.is_a?(Timeout::Error) ||
        (e.is_a?(ActiveRecord::StatementInvalid) && e.message.include?("execution expired"))
       ActiveRecord::Base.connection.raw_connection.cancel
-      render :action => "timeout"
+      render "browse/timeout", :layout => map_layout

Removed temporary `render "browse/timeout"`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4617#discussion_r1551744134
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4617/review/1980003290 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240404/4194314f/attachment.htm>


More information about the rails-dev mailing list