Set a timeout on HTTP requests made by the server
This commit is contained in:
parent
9d8bbc926c
commit
eea25bd154
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue