Skip to content

Commit

Permalink
Merge pull request #171 from etalab/increase_read_timeout
Browse files Browse the repository at this point in the history
increase read timeout
  • Loading branch information
JeSuisUnCaillou authored Dec 20, 2024
2 parents 0607bcf + ecb4ea1 commit 32e47d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/api_particulier/quotient_familial/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def get

https = Net::HTTP.new(base_url.host, base_url.port)
https.use_ssl = true
https.read_timeout = 20

request = Net::HTTP::Get.new(base_url)
request["Content-Type"] = "application/json"
Expand Down

0 comments on commit 32e47d8

Please sign in to comment.