X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9c0582f88fd2ef4e20c6eb922bcd4cb1a04258d5..7e0e7ac57b732df84af7bf6a195dd7c3ee17e7a0:/lib/osm.rb 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