[openstreetmap/openstreetmap-website] Fix timeout messages for former browse pages (PR #4617)
Anton Khorev
notifications at github.com
Thu Apr 4 12:34:59 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
The site is broken before the first step. How can it work through each step unless you squash all of the steps?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4617#discussion_r1551594921
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4617/review/1979753222 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240404/b2b91513/attachment.htm>
More information about the rails-dev
mailing list