Skip to content

Commit

Permalink
Bump up default readtimeout (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj authored Jan 18, 2023
1 parent ad1b117 commit 2d42165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CloudBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module AWS
using HTTP
import ..cloudsignlayer, ..AWSCredentials, ..AbstractStore, ..AWS_DEFAULT_REGION

awslayer(handler) = (req; kw...) -> handler(req; kw..., aws=true, readtimeout=30)
awslayer(handler) = (req; kw...) -> handler(req; kw..., aws=true, readtimeout=300)

HTTP.@client (first=(awslayer,), last=()) (first=(), last=(cloudsignlayer,))

Expand Down Expand Up @@ -182,7 +182,7 @@ module Azure
using HTTP
import ..cloudsignlayer, ..AzureCredentials, ..AbstractStore

azurelayer(handler) = (req; kw...) -> handler(req; azure=true, aws=false, awsv2=false, readtimeout=30, require_ssl_verification=req.url.host != "127.0.0.1", kw...)
azurelayer(handler) = (req; kw...) -> handler(req; azure=true, aws=false, awsv2=false, readtimeout=300, require_ssl_verification=req.url.host != "127.0.0.1", kw...)

HTTP.@client (first=(azurelayer,), last=()) (first=(), last=(cloudsignlayer,))

Expand Down

0 comments on commit 2d42165

Please sign in to comment.