[openstreetmap/openstreetmap-website] Remove SystemTimer and use stdlib Timeout directly (#3015)

Andy Allan notifications at github.com
Wed Dec 23 14:28:42 UTC 2020


SystemTimer was only needed on ruby 1.8, and we dropped support for that a long time ago.

https://web.archive.org/web/20110820091021/http://ph7spot.com/musings/system-timer shows the creator of SystemTimer saying not to use it on other versions of ruby.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3015

-- Commit Summary --

  * Remove SystemTimer and use stdlib Timeout directly

-- File Changes --

    M .rubocop_todo.yml (2)
    M Gemfile (3)
    M Gemfile.lock (2)
    M app/controllers/api/amf_controller.rb (4)
    M app/controllers/application_controller.rb (6)
    M lib/nominatim.rb (4)
    M lib/osm.rb (7)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3015.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3015.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3015
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201223/16b99659/attachment.htm>


More information about the rails-dev mailing list