mirror of
https://github.com/iv-org/instances-api.git
synced 2025-02-04 09:05:32 -05:00
Double the time before requests to /api/v1/stats timeout
This commit is contained in:
parent
d696237221
commit
74ab5a9519
@ -72,8 +72,8 @@ spawn do
|
||||
else
|
||||
type = uri.scheme.not_nil!
|
||||
client = HTTP::Client.new(uri)
|
||||
client.connect_timeout = 5.seconds
|
||||
client.read_timeout = 5.seconds
|
||||
client.connect_timeout = 10.seconds
|
||||
client.read_timeout = 10.seconds
|
||||
begin
|
||||
req = client.get("/api/v1/stats")
|
||||
stats = JSON.parse(req.body)
|
||||
|
Loading…
x
Reference in New Issue
Block a user