X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9c0582f88fd2ef4e20c6eb922bcd4cb1a04258d5..226e2d654af2ddb843d39d80a25c2501ff016de3:/lib/osm.rb?ds=inline diff --git a/lib/osm.rb b/lib/osm.rb index 73513c3ad..4241ad700 100644 --- a/lib/osm.rb +++ b/lib/osm.rb @@ -520,7 +520,7 @@ module OSM # Return the HTTP client to use def self.http_client - @http_client ||= Faraday.new + @http_client ||= Faraday.new(:request => { :timeout => 15 }) end # Return the MaxMindDB database handle