Add 'force_resolve' to fix issues with rate limiting

This commit is contained in:
Omar Roth
2019-07-18 18:51:10 -05:00
parent 290c7e6009
commit 1b74a04efd
2 changed files with 114 additions and 50 deletions

View File

@@ -20,6 +20,7 @@ end
def make_client(url : URI, region = nil)
client = HTTPClient.new(url)
client.family = CONFIG.force_resolve
client.read_timeout = 15.seconds
client.connect_timeout = 15.seconds