Skip to content

Commit

Permalink
increased solar api query to 15 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
bpulluta committed Oct 17, 2024
1 parent 39fa085 commit c48bf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ function call_solar_dataset_api(latitude::Real, longitude::Real, radius::Int)
"&lat=", latitude , "&lon=", longitude, "&radius=", radius, "&all=", 0
)
try
r = HTTP.get(url, keepalive=true, readtimeout=10)
r = HTTP.get(url, keepalive=true, readtimeout=15)
response = JSON.parse(String(r.body))

if r.status != 200
Expand Down

0 comments on commit c48bf3a

Please sign in to comment.